summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-30 22:25:11 +0200
committerwm4 <wm4@nowhere>2014-04-30 22:25:11 +0200
commit7fc999b5777696c552e8b1b587aa55821e30bda2 (patch)
treee035b162c24fc074fd915e94bfb08aab4a518255 /video
parentcb411ac52093569d831f2673f18be89ff438b9ba (diff)
downloadmpv-7fc999b5777696c552e8b1b587aa55821e30bda2.tar.bz2
mpv-7fc999b5777696c552e8b1b587aa55821e30bda2.tar.xz
vo: document draw_image
Diffstat (limited to 'video')
-rw-r--r--video/out/vo.h6
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);
/*