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

Method getFileInfoForAllStreams

YUViewLib/src/filesource/FileSourceFFmpegFile.cpp:658–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

656}
657
658QList<QStringPairList> FileSourceFFmpegFile::getFileInfoForAllStreams()
659{
660 QList<QStringPairList> info;
661
662 info += formatCtx.getInfoText();
663 for (unsigned i = 0; i < this->formatCtx.getNbStreams(); i++)
664 {
665 auto stream = this->formatCtx.getStream(i);
666 auto codecIdWrapper = this->ff.getCodecIDWrapper(stream.getCodecID());
667 info += stream.getInfoText(codecIdWrapper);
668 }
669
670 return info;
671}
672
673QList<AVRational> FileSourceFFmpegFile::getTimeBaseAllStreams()
674{

Callers 1

runParsingOfFileMethod · 0.80

Calls 5

getNbStreamsMethod · 0.80
getStreamMethod · 0.80
getCodecIDWrapperMethod · 0.80
getInfoTextMethod · 0.45
getCodecIDMethod · 0.45

Tested by

no test coverage detected