[FFmpeg-devel] [PATCH] Fix return value for incomplete H264 frame packets

Reimar Döffinger Reimar.Doeffinger
Wed Aug 25 20:30:27 CEST 2010

On Wed, Aug 25, 2010 at 08:02:22PM +0200, Laurent Aimar wrote:
> Hi,
> On Wed, Aug 25, 2010 at 06:24:43PM +0200, Reimar D?ffinger wrote:
> > On Wed, Aug 25, 2010 at 05:10:13PM +0200, Michael Niedermayer wrote:
> > Not really, this is just about being able to play any fixed-framerate
> > content without needing timestamp handling (as in, none at all).
> > This is "needed" to make one (the most basic) timing method of MPlayer
> > work with H.264 PAFF.
>  What are the issue with simply counting the number of frames output by
> the decoder in this case? Why is the information "only one field decoded
> for the next frame" be needed?

You are asking me exactly the same question again? Seriously?
And before you ask what I also already answered, yes it is possible
to do this without libavcodec changes by e.g. applying different
rules for H.264 and MPEG-4, but that does not make it a good

More information about the ffmpeg-devel mailing list