[FFmpeg-devel] [PATCH 2/4] ffplay: add null packet after attached pics packet

Paul B Mahol onemda at gmail.com
Sun Oct 6 21:37:21 CEST 2013


On 10/6/13, Marton Balint <cus at passwd.hu> wrote:
> Fixes ticket #2904.
>
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  ffplay.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/ffplay.c b/ffplay.c
> index f383229..2f24d49 100644
> --- a/ffplay.c
> +++ b/ffplay.c
> @@ -2904,6 +2904,7 @@ static int read_thread(void *arg)
>                  if ((ret = av_copy_packet(&copy,
> &is->video_st->attached_pic)) < 0)
>                      goto fail;
>                  packet_queue_put(&is->videoq, &copy);
> +                packet_queue_put_nullpacket(&is->videoq,
> is->video_stream);
>              }
>              is->queue_attachments_req = 0;
>          }
> --
> 1.8.1.4


Looks like hack.

>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list