Browse Source

ffmpeg: replace magic number with VSYNC_CFR

tags/n1.1
Peter Ross 12 years ago
parent
commit
c16f768d73
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffmpeg.c

+ 1
- 1
ffmpeg.c View File

@@ -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:


Loading…
Cancel
Save