[FFmpeg-devel] [PATCH 2/2] ffplay: reque attached pictures on channel changes.
Marton Balint
cus at passwd.hu
Tue Aug 14 23:25:07 CEST 2012
On Tue, 14 Aug 2012, Michael Niedermayer wrote:
> Fixes Ticket1473
>
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
> ffplay.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/ffplay.c b/ffplay.c
> index 282d56f..0c67ec4 100644
> --- a/ffplay.c
> +++ b/ffplay.c
> @@ -2680,6 +2680,7 @@ static void stream_cycle_channel(VideoState *is, int codec_type)
> the_end:
> stream_component_close(is, old_index);
> stream_component_open(is, stream_index);
> + avformat_queue_attached_pictures(is->ic);
Probably you should do this in the read thread, to avoid races.
Regards,
Marton
More information about the ffmpeg-devel
mailing list