summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-17 02:11:28 +0100
committerwm4 <wm4@nowhere>2019-11-17 02:11:45 +0100
commit78cf974375dee0334288697723022514403f81a6 (patch)
tree0142f6d0741c1e24491c5905e7783c8a5abf089a /player/video.c
parentd92395d205dc9638c354c4bc7e58a969f889ebec (diff)
downloadmpv-78cf974375dee0334288697723022514403f81a6.tar.bz2
mpv-78cf974375dee0334288697723022514403f81a6.tar.xz
options: deprecate --video-sync=display-adrop
A stupid thing that will probably be in the way.
Diffstat (limited to 'player/video.c')
-rw-r--r--player/video.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/player/video.c b/player/video.c
index e0353700f0..b5f27e77d6 100644
--- a/player/video.c
+++ b/player/video.c
@@ -784,6 +784,12 @@ static void handle_display_sync_frame(struct MPContext *mpctx,
mpctx->display_sync_active = false;
+ if (mode == VS_DISP_ADROP && !mpctx->audio_drop_deprecated_msg) {
+ MP_WARN(mpctx, "video-sync=display-adrop mode is deprecated and will "
+ "be removed in the future.\n");
+ mpctx->audio_drop_deprecated_msg = true;
+ }
+
if (!VS_IS_DISP(mode))
return;
bool resample = mode == VS_DISP_RESAMPLE || mode == VS_DISP_RESAMPLE_VDROP ||