summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-27 20:56:46 +0100
committerwm4 <wm4@nowhere>2015-10-27 20:56:46 +0100
commitaaec2aba3890e1b2ea8f4dc158d884bc85a59517 (patch)
tree61d9e3464aa0777bb7e58257e24b290c4b2146bd /player/core.h
parent3b95dd47d53d4d9b5a247f2dda550b5470e62b48 (diff)
downloadmpv-aaec2aba3890e1b2ea8f4dc158d884bc85a59517.tar.bz2
mpv-aaec2aba3890e1b2ea8f4dc158d884bc85a59517.tar.xz
player: add audio drop/duplicate mode
Not very robust in the moment.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h
index b775e52535..b5c2077e5a 100644
--- a/player/core.h
+++ b/player/core.h
@@ -84,6 +84,7 @@ enum video_sync {
VS_DISP_RESAMPLE,
VS_DISP_RESAMPLE_VDROP,
VS_DISP_RESAMPLE_NONE,
+ VS_DISP_ADROP,
VS_DISP_VDROP,
VS_DISP_NONE,
VS_NONE,
@@ -92,6 +93,7 @@ enum video_sync {
#define VS_IS_DISP(x) ((x) == VS_DISP_RESAMPLE || \
(x) == VS_DISP_RESAMPLE_VDROP || \
(x) == VS_DISP_RESAMPLE_NONE || \
+ (x) == VS_DISP_ADROP || \
(x) == VS_DISP_VDROP || \
(x) == VS_DISP_NONE)