[FFmpeg-devel] [PATCH 4/6] lavu/frame: add AV_FRAME_DATA_SKIP_SAMPLES.

wm4 nfxjfg at googlemail.com
Sun Mar 2 22:16:48 CET 2014


On Sun, 2 Mar 2014 21:49:01 +0100
Nicolas George <george at nsup.org> wrote:

> Le duodi 12 ventôse, an CCXXII, wm4 a écrit :
> > I like this approach. It could be used for audio codecs with
> > preroll/padding too,
> 
> You do realize this has already been present in the code for 20 months?

Then why the patch? Obviously your statement makes no sense (here, you
can have it back).

> >			instead of forcing the user to allow libavcodec to
> > mess with the timestamps directly.
> 
> I have no idea what you are talking about.

The existing mechanism for adjusting timestamps according to preroll
only works if you tell libavcodec the time base. This is impractical if
applications use their own timestamp format.



More information about the ffmpeg-devel mailing list