MCPcopy Create free account
hub / github.com/dirkvdb/ffmpegthumbnailer / decodeVideoFrame

Method decodeVideoFrame

libffmpegthumbnailer/moviedecoder.cpp:443–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443void MovieDecoder::decodeVideoFrame()
444{
445 bool frameFinished = false;
446
447 while (!frameFinished && getVideoPacket()) {
448 frameFinished = decodeVideoPacket();
449 }
450
451 if (!frameFinished) {
452 throw logic_error("decodeVideoFrame() failed: frame not finished");
453 }
454}
455
456bool MovieDecoder::decodeVideoPacket()
457{

Callers 2

generateThumbnailMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected