[FFmpeg-devel] [PATCH] Fraps: restore old behavior regarding P frames

Michael Niedermayer michaelni at gmx.at
Thu Feb 2 05:12:22 CET 2012

On Wed, Feb 01, 2012 at 09:55:40PM +0100, Javier Cabezas wrote:
> Nice, let's see what they say.
> I'd volunteer, but I don't have the skills nor the time to do it. If the

its always better to have code maintained than not maintained. But
lack of time is a problem of course, though i dont think this needs
much time ...

> mimic implementation wasn't there as inspiration I couldn't have been able
> to write this patch. It was done before Reimar commits (target was MT) BTW.
> Talk about bad timing. I can always use this locally, but I hope it (or a
> better patch ofc) gets commited, so all avcodec users benefit from it.

Iam thinking that a generic solution outside the codec would be better
There are other codecs that are affected by this. mpeg2 is the most
well known, we too there do return frames + timing instead of
duplicating like the spec mandates.
and we are far from the only doing this, libmpeg2 does it too

If not in ffmpeg.c, then a flag that duplicates frames where needed
in avcodec_decode_video*() would be an option.

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120202/cf22cc2d/attachment.asc>

More information about the ffmpeg-devel mailing list