[FFmpeg-devel] [PATCH 1/2] ffplay: use videoq.serial to detect obsolete frames

Michael Niedermayer michaelni at gmx.at
Wed Jan 16 14:11:13 CET 2013

On Mon, Jan 14, 2013 at 01:44:05AM +0100, Marton Balint wrote:
> Previously VideoPicture->skip was used for that, using videoq.serial enables us
> to detect obsolete frames right after pushing flush_pkt to the packet queue, so
> we don't have to wait for the decoder thread to pop the flush packet anymore.
> This is good because until now a full video picture queue may have blocked the
> decoder thread.

didnt test but LGTM

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130116/289835de/attachment.asc>

More information about the ffmpeg-devel mailing list