[FFmpeg-devel] [PATCH] Add -vsync drop.
Stefano Sabatini
stefasab at gmail.com
Sat Jan 28 21:22:40 CET 2012
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.
--
FFmpeg = Fast & Faithless Majestic Pitiful Enhancing Gladiator
More information about the ffmpeg-devel
mailing list