vo_drm: remove VOCTRL_SCREENSHOT_WIN

With the generic screenshot window implemented, this is no longer
needed since vo_drm already uses software scaling.
This commit is contained in:
Dudemanguy 2023-07-19 13:30:36 -05:00 committed by sfan5
parent d16c59096c
commit 9a95cb9fd1
1 changed files with 0 additions and 5 deletions

View File

@ -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);