From 7177ef3e1ca1a6a5c359f6bc1431ff0d6d761d61 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 8 Sep 2016 18:59:21 +0200 Subject: 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. --- video/out/vo_direct3d.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'video/out/vo_direct3d.c') 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; -- cgit v1.2.3