diff options
author | Peter Ross <pross@xvid.org> | 2012-12-14 23:31:41 +1100 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2012-12-16 09:48:54 +1100 |
commit | c16f768d73cc9bd8fa2cc146dd139b1de5b4d97b (patch) | |
tree | af362553e6b3fd259c9ceed2320eb8cf4fe1b7d4 | |
parent | 2d74dea84f3d2dea04c77a9c02b01efab4d03a3b (diff) | |
download | ffmpeg-c16f768d73cc9bd8fa2cc146dd139b1de5b4d97b.tar.gz |
ffmpeg: replace magic number with VSYNC_CFR
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |