aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-04-01 06:29:16 +0200
committerAnton Khirnov <anton@khirnov.net>2024-04-09 10:34:18 +0200
commit509afedaafa1c6796dac6c5654a1229d6af945bb (patch)
tree1cbe50ffb8415674c0ebd6f288800aeb91f0176d /fftools/ffmpeg.h
parentbc206ed1b3631801869b1bd4ddb3d3e4dd5f7aef (diff)
downloadffmpeg-509afedaafa1c6796dac6c5654a1229d6af945bb.tar.gz
fftools/ffmpeg_filter: pass vsync method through OutputFilterOptions
Do not read it from OutputStream directly. Will allow decoupling filtering from encoding in future commits.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 598ca2fa96..fa8f7d8324 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -287,6 +287,8 @@ typedef struct OutputFilterOptions {
int width;
int height;
+ enum VideoSyncMethod vsync_method;
+
int sample_rate;
AVChannelLayout ch_layout;
} OutputFilterOptions;
@@ -549,7 +551,6 @@ typedef struct OutputStream {
/* video only */
AVRational frame_rate;
AVRational max_frame_rate;
- enum VideoSyncMethod vsync_method;
int is_cfr;
int force_fps;
#if FFMPEG_OPT_TOP