summaryrefslogtreecommitdiffstats
path: root/video/out/vo_drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_drm.c')
-rw-r--r--video/out/vo_drm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c
index 96d02c5f00..1128a0dd4f 100644
--- a/video/out/vo_drm.c
+++ b/video/out/vo_drm.c
@@ -440,12 +440,7 @@ static int query_format(struct vo *vo, int format)
static int control(struct vo *vo, uint32_t request, void *arg)
{
- struct priv *p = vo->priv;
-
switch (request) {
- case VOCTRL_SCREENSHOT_WIN:
- *(struct mp_image**)arg = mp_image_new_copy(p->cur_frame);
- return VO_TRUE;
case VOCTRL_SET_PANSCAN:
if (vo->config_ok)
reconfig(vo, vo->params);