[FFmpeg-devel] [PATCH] Add -vsync drop.

Michael Niedermayer michaelni at gmx.at
Sat Jan 28 20:13:31 CET 2012


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

thanks
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- 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/20120128/08845f74/attachment.asc>


More information about the ffmpeg-devel mailing list