mirror of https://github.com/mpv-player/mpv
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:
parent
d16c59096c
commit
9a95cb9fd1
|
@ -440,12 +440,7 @@ static int query_format(struct vo *vo, int format)
|
||||||
|
|
||||||
static int control(struct vo *vo, uint32_t request, void *arg)
|
static int control(struct vo *vo, uint32_t request, void *arg)
|
||||||
{
|
{
|
||||||
struct priv *p = vo->priv;
|
|
||||||
|
|
||||||
switch (request) {
|
switch (request) {
|
||||||
case VOCTRL_SCREENSHOT_WIN:
|
|
||||||
*(struct mp_image**)arg = mp_image_new_copy(p->cur_frame);
|
|
||||||
return VO_TRUE;
|
|
||||||
case VOCTRL_SET_PANSCAN:
|
case VOCTRL_SET_PANSCAN:
|
||||||
if (vo->config_ok)
|
if (vo->config_ok)
|
||||||
reconfig(vo, vo->params);
|
reconfig(vo, vo->params);
|
||||||
|
|
Loading…
Reference in New Issue