diff options
Diffstat (limited to 'video/out/vo.h')
-rw-r--r-- | video/out/vo.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index 947493268c..851dd16159 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -293,6 +293,12 @@ struct vo_driver { int (*reconfig)(struct vo *vo, struct mp_image_params *params); /* + * Like reconfig(), but provides the whole mp_image for which the change is + * required. (The image doesn't have to have real data.) + */ + int (*reconfig2)(struct vo *vo, struct mp_image *img); + + /* * Control interface */ int (*control)(struct vo *vo, uint32_t request, void *data); @@ -440,6 +446,7 @@ struct vo { struct mpv_global; struct vo *init_best_video_out(struct mpv_global *global, struct vo_extra *ex); int vo_reconfig(struct vo *vo, struct mp_image_params *p); +int vo_reconfig2(struct vo *vo, struct mp_image *img); int vo_control(struct vo *vo, int request, void *data); void vo_control_async(struct vo *vo, int request, void *data); |