summaryrefslogtreecommitdiffstats
path: root/video/out/vo_direct3d.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_direct3d.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_direct3d.c')
-rw-r--r--video/out/vo_direct3d.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c
index bb3f9461c1..38dde55af2 100644
--- a/video/out/vo_direct3d.c
+++ b/video/out/vo_direct3d.c
@@ -1280,8 +1280,6 @@ static int control(struct vo *vo, uint32_t request, void *data)
calc_fs_rect(priv);
priv->vo->want_redraw = true;
return VO_TRUE;
- case VOCTRL_GET_PANSCAN:
- return VO_TRUE;
case VOCTRL_SCREENSHOT_WIN:
*(struct mp_image **)data = get_window_screenshot(priv);
return VO_TRUE;