[FFmpeg-devel] [PATCH]lavd/v4l2: Use AVSTREAM_PARSE_FULL_ONCE for h264

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jul 30 02:36:09 CEST 2015


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> Attached patch suggested and tested by noah fixes ticket #4644.

> diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
> index 64ac09c..5683731 100644
> --- a/libavdevice/v4l2.c
> +++ b/libavdevice/v4l2.c

>      else if (codec_id == AV_CODEC_ID_H264) {
> -        st->need_parsing = AVSTREAM_PARSE_HEADERS;
> +        st->need_parsing = AVSTREAM_PARSE_FULL_ONCE;

Ping, the OP has updated the ticket.

Carl Eugen



More information about the ffmpeg-devel mailing list