summaryrefslogtreecommitdiffstats
path: root/video/out/vo_vaapi.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_vaapi.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_vaapi.c')
-rw-r--r--video/out/vo_vaapi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/vo_vaapi.c b/video/out/vo_vaapi.c
index b308c8be3c..0b741850b0 100644
--- a/video/out/vo_vaapi.c
+++ b/video/out/vo_vaapi.c
@@ -545,8 +545,6 @@ static int control(struct vo *vo, uint32_t request, void *data)
p->output_surface = p->visible_surface;
draw_osd(vo);
return true;
- case VOCTRL_GET_PANSCAN:
- return VO_TRUE;
case VOCTRL_SET_PANSCAN:
resize(p);
return VO_TRUE;