MCPcopy Create free account
hub / github.com/IENT/YUView / getMaxTS

Method getMaxTS

YUViewLib/src/filesource/FileSourceFFmpegFile.cpp:637–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635}
636
637int64_t FileSourceFFmpegFile::getMaxTS()
638{
639 if (!this->isFileOpened)
640 return -1;
641
642 // duration / AV_TIME_BASE is the duration in seconds
643 // pts * timeBase is also in seconds
644 return this->duration / AV_TIME_BASE * this->timeBase.den / this->timeBase.num;
645}
646
647indexRange FileSourceFFmpegFile::getDecodableFrameLimits() const
648{

Callers 2

scanBitstreamMethod · 0.95
runParsingOfFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected