summaryrefslogtreecommitdiffstats
path: root/video/out/vo_vdpau.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-29 15:18:19 +0200
committerwm4 <wm4@nowhere>2014-05-02 01:08:05 +0200
commit90a039a5991c20c3a185667348bf7c69dbb4cd19 (patch)
tree47c39ed0218203b0211aa3b86689e9ecd5b1a432 /video/out/vo_vdpau.c
parent3f060a19d84bfef8ea08b81399b16c8414053700 (diff)
downloadmpv-90a039a5991c20c3a185667348bf7c69dbb4cd19.tar.bz2
mpv-90a039a5991c20c3a185667348bf7c69dbb4cd19.tar.xz
command, vo_vdpau: respect vdpau deint sub-option
This is a horrible hack to keep compatibility with the vo_vdpau deint sub-option.
Diffstat (limited to 'video/out/vo_vdpau.c')
-rw-r--r--video/out/vo_vdpau.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c
index fbcb1e9917..97b8245401 100644
--- a/video/out/vo_vdpau.c
+++ b/video/out/vo_vdpau.c
@@ -1278,6 +1278,9 @@ static int control(struct vo *vo, uint32_t request, void *data)
args->out_image = get_screenshot(vo);
return true;
}
+ case VOCTRL_GET_PREF_DEINT:
+ *(int *)data = vc->deint;
+ return true;
}
int events = 0;