summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2022-06-07 17:36:54 +0530
committerGyan Doshi <ffmpeg@gyani.pro>2022-06-11 09:47:27 +0530
commit09c53a04c5892baee88872fbce3df17a00472faa (patch)
tree8e64f2ce50389f81b476a9473af287b096884710 /fftools/ffmpeg.h
parentcb204f007be4b0cb32ec32b08f2fdfd798d339ea (diff)
ffmpeg: add option fps_mode
fps_mode sets video sync per output stream. Overrides vsync for matching streams. vsync is deprecated.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 7326193caf..69a368b8d1 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -176,6 +176,8 @@ typedef struct OptionsContext {
int nb_qscale;
SpecifierOpt *forced_key_frames;
int nb_forced_key_frames;
+ SpecifierOpt *fps_mode;
+ int nb_fps_mode;
SpecifierOpt *force_fps;
int nb_force_fps;
SpecifierOpt *frame_aspect_ratios;
@@ -489,6 +491,7 @@ typedef struct OutputStream {
AVRational max_frame_rate;
enum VideoSyncMethod vsync_method;
int is_cfr;
+ const char *fps_mode;
int force_fps;
int top_field_first;
int rotate_overridden;