[FFmpeg-devel] [PATCH] Add -vsync drop.
Reimar.Doeffinger at gmx.de
Sat Jan 28 22:10:16 CET 2012
On Sat, Jan 28, 2012 at 09:22:40PM +0100, Stefano Sabatini wrote:
> On date Saturday 2012-01-28 20:13:31 +0100, Michael Niedermayer encoded:
> > On Sat, Jan 28, 2012 at 07:57:56PM +0100, Reimar Döffinger wrote:
> > > This allows to work around any non-monotonic time-stamp errors
> > > by just discarding all time stamps.
> > > This will be necessary to allow H.264 conformance tests to pass
> > > after fixing time stamps to be passed through rawenc.
> > >
> > > Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> > > ---
> > > ffmpeg.c | 8 ++++++--
> > > 1 files changed, 6 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/ffmpeg.c b/ffmpeg.c
> > > index 02f9306..0b8dbec 100644
> > > --- a/ffmpeg.c
> > > +++ b/ffmpeg.c
> > > @@ -97,6 +97,7 @@
> > > #define VSYNC_PASSTHROUGH 0
> > > #define VSYNC_CFR 1
> > > #define VSYNC_VFR 2
> > > +#define VSYNC_DROP 3
> > maybe a more random value would decrease chances of conflicts with
> > the fork
> > except that, LGTM
> Please also update the docs.
Hope what I pushed is fine for both of you.
More information about the ffmpeg-devel