summaryrefslogtreecommitdiffstats
path: root/video/out/vo_vdpau.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-08 18:59:21 +0200
committerwm4 <wm4@nowhere>2016-09-08 18:59:21 +0200
commit7177ef3e1ca1a6a5c359f6bc1431ff0d6d761d61 (patch)
tree97f65677dee5f8b1a5456bf4e4eb0f0c554ea2c0 /video/out/vo_vdpau.c
parenta2fce5ba26dbab4836df4cb75a1458ca41f0dcb6 (diff)
downloadmpv-7177ef3e1ca1a6a5c359f6bc1431ff0d6d761d61.tar.bz2
mpv-7177ef3e1ca1a6a5c359f6bc1431ff0d6d761d61.tar.xz
vo: remove unused VOCTRL_GET_PANSCAN
It was used to determine whether the VO supports VOCTRL_SET_PANSCAN. With all those changes to property semantics this became unnecessary, and its only use was dropped at some point.
Diffstat (limited to 'video/out/vo_vdpau.c')
-rw-r--r--video/out/vo_vdpau.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c
index 25ab72db80..757c31e32f 100644
--- a/video/out/vo_vdpau.c
+++ b/video/out/vo_vdpau.c
@@ -1087,8 +1087,6 @@ static int control(struct vo *vo, uint32_t request, void *data)
check_preemption(vo);
switch (request) {
- case VOCTRL_GET_PANSCAN:
- return VO_TRUE;
case VOCTRL_SET_PANSCAN:
checked_resize(vo);
return VO_TRUE;