summaryrefslogtreecommitdiffstats
path: root/video/out/vo_wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_wayland.c')
-rw-r--r--video/out/vo_wayland.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/video/out/vo_wayland.c b/video/out/vo_wayland.c
index cdfdc24ad4..6a7b18a6c5 100644
--- a/video/out/vo_wayland.c
+++ b/video/out/vo_wayland.c
@@ -639,10 +639,7 @@ static int control(struct vo *vo, uint32_t request, void *data)
{
struct priv *p = vo->priv;
switch (request) {
- case VOCTRL_GET_PANSCAN:
- return VO_TRUE;
- case VOCTRL_SET_PANSCAN:
- {
+ case VOCTRL_SET_PANSCAN: {
resize(p);
return VO_TRUE;
}