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

Method getTimeBaseAllStreams

YUViewLib/src/filesource/FileSourceFFmpegFile.cpp:673–684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

671}
672
673QList<AVRational> FileSourceFFmpegFile::getTimeBaseAllStreams()
674{
675 QList<AVRational> timeBaseList;
676
677 for (unsigned i = 0; i < this->formatCtx.getNbStreams(); i++)
678 {
679 auto stream = this->formatCtx.getStream(i);
680 timeBaseList.append(stream.getTimeBase());
681 }
682
683 return timeBaseList;
684}
685
686QList<QString> FileSourceFFmpegFile::getShortStreamDescriptionAllStreams()
687{

Callers 1

runParsingOfFileMethod · 0.80

Calls 4

getNbStreamsMethod · 0.80
getStreamMethod · 0.80
appendMethod · 0.80
getTimeBaseMethod · 0.45

Tested by

no test coverage detected