[vlc-commits] libvlc: add some info whether callbacks are called withing makeCurrent or not
Steve Lhomme
git at videolan.org
Thu Aug 27 08:31:36 CEST 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Aug 21 09:37:29 2020 +0200| [37498258121bbb464dbe8ef6029d5aa816e46605] | committer: Steve Lhomme
libvlc: add some info whether callbacks are called withing makeCurrent or not
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=37498258121bbb464dbe8ef6029d5aa816e46605
---
include/vlc/libvlc_media_player.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index dc5942afd0..134e414043 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -606,6 +606,9 @@ typedef bool (*libvlc_video_update_output_cb)(void* opaque, const libvlc_video_r
/**
* Callback prototype called after performing drawing calls.
*
+ * This callback is called outside of libvlc_video_makeCurrent_cb current/not-current
+ * calls.
+ *
* \param opaque private pointer set on the opaque parameter of @a libvlc_video_output_setup_cb() [IN]
* \version LibVLC 4.0.0 or later
*/
@@ -723,6 +726,9 @@ typedef void( *libvlc_video_output_set_resize_cb )( void *opaque,
* The number of planes depend on the DXGI_FORMAT returned during the
* \ref LIBVLC_VIDEO_UPDATE_OUTPUT call. It's usually one plane except for
* semi-planar formats like DXGI_FORMAT_NV12 or DXGI_FORMAT_P010.
+ *
+ * This callback is called between libvlc_video_makeCurrent_cb current/not-current
+ * calls.
*/
typedef bool( *libvlc_video_output_select_plane_cb )( void *opaque, size_t plane );
More information about the vlc-commits
mailing list