ffmpeg: change vsync value to an enum

Stop explicitly defining VSCFR and DROP values, which were never
documented.
This commit is contained in:
Anton Khirnov
2021-12-04 14:53:58 +01:00
parent bb6f591c49
commit 011114f3e1
3 changed files with 12 additions and 9 deletions

View File

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