diff --git a/video/out/vo.h b/video/out/vo.h index 7ab19a96f1..a8e8b9ddaf 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -122,7 +122,7 @@ enum mp_voctrl { VOCTRL_GET_HIDPI_SCALE, // double* VOCTRL_GET_DISPLAY_RES, // int[2] - /* private to vo_gpu */ + /* private to vo_gpu and vo_gpu_next */ VOCTRL_EXTERNAL_RESIZE, }; diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index d6e9cffd1f..6fc0a8c29c 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -1040,6 +1040,10 @@ static int control(struct vo *vo, uint32_t request, void *data) case VOCTRL_SCREENSHOT: video_screenshot(vo, data); return true; + + case VOCTRL_EXTERNAL_RESIZE: + reconfig(vo, NULL); + return true; } int events = 0;