[FFmpeg-devel] [PATCH 1/2] h264_parser: Fix behaviour when PARSER_FLAG_COMPLETE_FRAMES is set.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Mar 29 20:14:13 CEST 2011


On Mon, Mar 28, 2011 at 09:44:48PM -0700, Philip Langdale wrote:
> @@ -282,10 +283,10 @@ static int h264_parse(AVCodecParserContext *s,
>              s->dts_ref_dts_delta = INT_MIN;
>              s->pts_dts_delta     = INT_MIN;
>          }
> +
>          if (s->flags & PARSER_FLAG_ONCE) {
>              s->flags &= PARSER_FLAG_COMPLETE_FRAMES;
>          }

I think Michael really needs to comment on this, it changes
PARSER_FLAG_ONCE in strange ways - not sure whether for better
or worse.


More information about the ffmpeg-devel mailing list