summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-12-04 14:53:58 +0100
committerAnton Khirnov <anton@khirnov.net>2021-12-07 11:23:45 +0100
commit011114f3e1593a2397871632937a2c23a1402efe (patch)
tree0b0b4b1e0ddd77eb0be8a762ecaf7e0293d8b59f /fftools/ffmpeg.c
parentbb6f591c4938b98b748e43625a54015486a6ed94 (diff)
ffmpeg: change vsync value to an enum
Stop explicitly defining VSCFR and DROP values, which were never documented.
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r--fftools/ffmpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 6827899b90..1c3c1d3dbf 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1143,7 +1143,8 @@ static void do_video_out(OutputFile *of,
OutputStream *ost,
AVFrame *next_picture)
{
- int ret, format_video_sync;
+ int ret;
+ enum VideoSyncMethod format_video_sync;
AVPacket *pkt = ost->pkt;
AVCodecContext *enc = ost->enc_ctx;
AVRational frame_rate;