diff options
-rw-r--r-- | video/out/vo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index e096c3c208..629e25e0b0 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -177,6 +177,12 @@ struct vo_driver { */ int (*control)(struct vo *vo, uint32_t request, void *data); + /* + * Render the given frame to the VO's backbuffer. This operation will be + * followed by a draw_osd and a flip_page[_timed] call. + * mpi belongs to the caller; if the VO needs it longer, it has to create + * a new reference to mpi. + */ void (*draw_image)(struct vo *vo, struct mp_image *mpi); /* |