summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorChristoph Heinrich <christoph.heinrich@student.tugraz.at>2022-08-03 23:47:07 +0200
committerDudemanguy <random342@airmail.cc>2023-01-09 15:17:09 +0000
commitc4ec47a65e5840643024ba056ba4db20a4300ed2 (patch)
tree290cb471e55301f374a0607c30b4725c459c5966 /options
parent67321b14402838eade127fa1d788a41906129b70 (diff)
downloadmpv-c4ec47a65e5840643024ba056ba4db20a4300ed2.tar.bz2
mpv-c4ec47a65e5840643024ba056ba4db20a4300ed2.tar.xz
player: add video-sync=display-tempo
So far there was no way to sync video to display and have audio sync to video without changes in pitch. With this option the audio does not get resampled (pitch change) and instead the corrected audio speed is applied to audio filters.
Diffstat (limited to 'options')
-rw-r--r--options/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 8785d78182..8075f02077 100644
--- a/options/options.c
+++ b/options/options.c
@@ -168,6 +168,7 @@ static const m_option_t mp_vo_opt_list[] = {
{"display-resample", VS_DISP_RESAMPLE},
{"display-resample-vdrop", VS_DISP_RESAMPLE_VDROP},
{"display-resample-desync", VS_DISP_RESAMPLE_NONE},
+ {"display-tempo", VS_DISP_TEMPO},
{"display-adrop", VS_DISP_ADROP},
{"display-vdrop", VS_DISP_VDROP},
{"display-desync", VS_DISP_NONE},