[FFmpeg-devel] [PATCH] Make vsrc_movie flush decoder frames on EOF.

Steven Robertson steven at strobe.cc
Sat Jul 7 06:41:06 CEST 2012


Hi all,

I found a small bug in vsrc_movie, causing it to cut off early for
some inputs. Patch attached. From the commit message:

vsrc_movie currently forwards EOF (or begins looping) immediately upon
reaching the last packet in the input stream, which can leave frames
in the decoder.  This change first tries to read any remaining packets
from
the decoder before forwarding EOF.

Thanks!
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-vsrc_movie-flush-decoder-frames-on-EOF.patch
Type: application/octet-stream
Size: 3290 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120706/1b41e2a4/attachment.obj>


More information about the ffmpeg-devel mailing list