summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-05-23 03:48:51 +0200
committerwm4 <wm4@nowhere>2020-05-23 03:48:51 +0200
commit1826e69af215175ff602e01e76998db3759fc3ab (patch)
tree1fe40ec633e0f386031c739560990c9ee5bfce41 /options/options.h
parentd62131d3aeda6f3b4c255ca06e70573433a8f16a (diff)
downloadmpv-1826e69af215175ff602e01e76998db3759fc3ab.tar.bz2
mpv-1826e69af215175ff602e01e76998db3759fc3ab.tar.xz
options: add option to control display-sync factor
Can be useful to force it to adapt to extreme speed changes, while a higher limit would just use a fraction closer to the original video speed. Probably useful for testing only.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index db48135b1a..548edf70c3 100644
--- a/options/options.h
+++ b/options/options.h
@@ -206,6 +206,7 @@ typedef struct MPOpts {
double sync_max_video_change;
double sync_max_audio_change;
double sync_audio_drop_size;
+ int sync_max_factor;
int hr_seek;
float hr_seek_demuxer_offset;
int hr_seek_framedrop;