[FFmpeg-devel] [PATCH 1/2] ffplay: use videoq.serial to detect obsolete frames
Marton Balint
cus at passwd.hu
Sat Jan 19 01:29:40 CET 2013
On Wed, 16 Jan 2013, Michael Niedermayer wrote:
> 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, please merge from ffplay stable for the two patches:
1427c68 ffplay: use videoq.serial to detect obsolete frames
f65e571 ffplay: flush video filters on seek
Thanks,
Marton
More information about the ffmpeg-devel
mailing list