[FFmpeg-devel] Flushing yadif

Robert Nagy ronag89 at gmail.com
Wed May 2 12:32:36 CEST 2012


Note that this is NOT a patch, just an untested suggestion on how to solve
the problem with flushing the last frame from the yadif filter.

Basically, if we receive an AVERROR_EOF, use "cur" as "next" and defer the
return of AVERROR_EOF to the next call.

I do not take poll_frame into account.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-yadif-Add-flushing-of-last-frame.patch
Type: application/octet-stream
Size: 2966 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120502/f7b46d1f/attachment.obj>


More information about the ffmpeg-devel mailing list