summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-12-04 15:16:54 +0100
committerAnton Khirnov <anton@khirnov.net>2021-12-07 11:23:45 +0100
commit9145c6d3b2e6e051b7450bcb96bdb3267271936c (patch)
tree84d43f8a9b56ce236c0c22dc93f4acdce5865ca7 /fftools/ffmpeg.h
parent6ce954642878d792ee1f628e0f871763f07efe72 (diff)
ffmpeg: move setting video sync method to new_video_stream()
do_video_out() is the wrong place for it, since the necessary information is already known when creating the stream and its value should never change.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 83e37cbed7..9b200b806a 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -485,6 +485,7 @@ typedef struct OutputStream {
/* video only */
AVRational frame_rate;
AVRational max_frame_rate;
+ enum VideoSyncMethod vsync_method;
int is_cfr;
int force_fps;
int top_field_first;