VIDEO: Complete reversion from previous commit

This commit is contained in:
sluicebox
2023-11-25 21:28:41 -08:00
parent 38d507d9b8
commit ef813c6d4d
2 changed files with 0 additions and 12 deletions
-10
View File
@@ -894,20 +894,10 @@ uint32 QuickTimeDecoder::VideoTrackHandler::getCurEditTrackDuration() const {
return _parent->editList[_curEdit].trackDuration * _parent->timeScale / _decoder->_timeScale;
}
bool QuickTimeDecoder::VideoTrackHandler::atFirstEdit() const {
return _curEdit == 0;
}
bool QuickTimeDecoder::VideoTrackHandler::atLastEdit() const {
return _curEdit == _parent->editList.size();
}
bool QuickTimeDecoder::VideoTrackHandler::beforeCurEdit() const {
// We're at the end of the edit once the next frame's time would
// bring us past the end of the edit.
return getRateAdjustedFrameTime() <= getCurEditTimeOffset();
}
bool QuickTimeDecoder::VideoTrackHandler::endOfCurEdit() const {
// We're at the end of the edit once the next frame's time would
// bring us past the end of the edit.
-2
View File
@@ -180,9 +180,7 @@ private:
uint32 getRateAdjustedFrameTime() const; // media time
uint32 getCurEditTimeOffset() const; // media time
uint32 getCurEditTrackDuration() const; // media time
bool atFirstEdit() const;
bool atLastEdit() const;
bool beforeCurEdit() const;
bool endOfCurEdit() const;
void checkEditListBounds();
};