Skip to content
Snippets Groups Projects
Commit c16f768d authored by Peter Ross's avatar Peter Ross
Browse files

ffmpeg: replace magic number with VSYNC_CFR

parent 2d74dea8
No related branches found
No related tags found
No related merge requests found
...@@ -803,7 +803,7 @@ static void do_video_out(AVFormatContext *s, ...@@ -803,7 +803,7 @@ static void do_video_out(AVFormatContext *s,
format_video_sync = video_sync_method; format_video_sync = video_sync_method;
if (format_video_sync == VSYNC_AUTO) 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) { switch (format_video_sync) {
case VSYNC_CFR: case VSYNC_CFR:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment