[vlc-commits] libvlc: mention the resize callback is for the host size and must be called
Steve Lhomme
git at videolan.org
Wed Jun 26 07:34:40 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jun 26 07:34:34 2019 +0200| [7542ee534347e509b6b3e76b1cb7adf380b356b7] | committer: Steve Lhomme
libvlc: mention the resize callback is for the host size and must be called
It may still work if not called but the rendering won't be nice.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7542ee534347e509b6b3e76b1cb7adf380b356b7
---
include/vlc/libvlc_media_player.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index 2920605ae4..87aaa18648 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -655,7 +655,7 @@ typedef void( *libvlc_video_direct3d_device_cleanup_cb )( void *opaque );
* It may be called before the \ref libvlc_video_direct3d_device_setup_cb callback.
*
* \param opaque private pointer set on the opaque parameter of @a libvlc_video_direct3d_device_setup_cb() [IN]
- * \param report_size_change callback to use when the size changes. [IN]
+ * \param report_size_change callback which must be called when the host size changes. [IN]
* The callback is valid until another call to \ref libvlc_video_direct3d_set_resize_cb
* is done. This may be called from any thread.
* \param report_opaque private pointer to pass to the \ref report_size_change callback. [IN]
More information about the vlc-commits
mailing list