aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2012-12-14 23:31:41 +1100
committerPeter Ross <pross@xvid.org>2012-12-16 09:48:54 +1100
commitc16f768d73cc9bd8fa2cc146dd139b1de5b4d97b (patch)
treeaf362553e6b3fd259c9ceed2320eb8cf4fe1b7d4
parent2d74dea84f3d2dea04c77a9c02b01efab4d03a3b (diff)
downloadffmpeg-c16f768d73cc9bd8fa2cc146dd139b1de5b4d97b.tar.gz
ffmpeg: replace magic number with VSYNC_CFR
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 956f5b6b49..36e9c2b23d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -803,7 +803,7 @@ static void do_video_out(AVFormatContext *s,
format_video_sync = video_sync_method;
if (format_video_sync == VSYNC_AUTO)
- format_video_sync = (s->oformat->flags & AVFMT_VARIABLE_FPS) ? ((s->oformat->flags & AVFMT_NOTIMESTAMPS) ? VSYNC_PASSTHROUGH : VSYNC_VFR) : 1;
+ format_video_sync = (s->oformat->flags & AVFMT_VARIABLE_FPS) ? ((s->oformat->flags & AVFMT_NOTIMESTAMPS) ? VSYNC_PASSTHROUGH : VSYNC_VFR) : VSYNC_CFR;
switch (format_video_sync) {
case VSYNC_CFR: