[vlc-commits] libvlc: makeCurrent_cb and getProcAddress_cb must not be NULL only for opengl
Steve Lhomme
git at videolan.org
Fri Jan 18 16:28:17 CET 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jan 18 16:24:32 2019 +0100| [8e9106fec7d72a3512de2fb769caab8c9385deb0] | committer: Steve Lhomme
libvlc: makeCurrent_cb and getProcAddress_cb must not be NULL only for opengl
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8e9106fec7d72a3512de2fb769caab8c9385deb0
---
include/vlc/libvlc_media_player.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index c85e17eb79..e3aafbbc30 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -501,8 +501,8 @@ typedef enum libvlc_video_engine_t {
* \param cleanup_cb callback called to clean up user data
* \param update_output_cb callback called to get the size of the video
* \param swap_cb callback called after rendering a video frame (cannot be NULL)
- * \param makeCurrent_cb callback called to enter/leave the opengl context (cannot be NULL)
- * \param getProcAddress_cb opengl function loading callback (cannot be NULL)
+ * \param makeCurrent_cb callback called to enter/leave the opengl context (cannot be NULL for \ref libvlc_video_engine_opengl and for \ref libvlc_video_engine_gles2)
+ * \param getProcAddress_cb opengl function loading callback (cannot be NULL for \ref libvlc_video_engine_opengl and for \ref libvlc_video_engine_gles2)
* \param opaque private pointer passed to callbacks
* \libvlc_return_bool
* \version LibVLC 4.0.0 or later
More information about the vlc-commits
mailing list