diff options
-rw-r--r-- | video/out/vo_drm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c index b8f6e1cffe..9ef371eb0d 100644 --- a/video/out/vo_drm.c +++ b/video/out/vo_drm.c @@ -618,6 +618,12 @@ static int control(struct vo *vo, uint32_t request, void *data) case VOCTRL_REDRAW_FRAME: draw_image(vo, p->last_input); return VO_TRUE; + case VOCTRL_GET_PANSCAN: + return VO_TRUE; + case VOCTRL_SET_PANSCAN: + if (vo->config_ok) + reconfig(vo, vo->params, 0); + return VO_TRUE; } return VO_NOTIMPL; } |