[vlc-devel] [PATCH 6/8] libvlc: fix bogus documentation reference

Steve Lhomme robux4 at ycbcr.xyz
Wed Mar 31 06:25:26 UTC 2021


---
 include/vlc/libvlc_media_player.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index 68383c8fb7e..1722bbfd2cb 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -510,7 +510,7 @@ typedef struct libvlc_video_setup_device_info_t
     union {
         struct {
             void *device_context; /** ID3D11DeviceContext* */
-            void *context_mutex; /** Windows Mutex handle to protect ID3D11DeviceContext usage */
+            void *context_mutex; /** Windows Mutex HANDLE to protect ID3D11DeviceContext usage */
         } d3d11;
         struct {
             void *device;         /** IDirect3D9* */
@@ -533,11 +533,11 @@ typedef struct libvlc_video_setup_device_info_t
  * \version LibVLC 4.0.0 or later
  *
  * For \ref libvlc_video_engine_d3d9 the output must be a IDirect3D9*.
- * A reference to this object is held until the \ref LIBVLC_VIDEO_DEVICE_CLEANUP is called.
+ * A reference to this object is held until the \ref libvlc_video_output_cleanup_cb is called.
  * the device must be created with D3DPRESENT_PARAMETERS.hDeviceWindow set to 0.
  *
  * For \ref libvlc_video_engine_d3d11 the output must be a ID3D11DeviceContext*.
- * A reference to this object is held until the \ref LIBVLC_VIDEO_DEVICE_CLEANUP is called.
+ * A reference to this object is held until the \ref libvlc_video_output_cleanup_cb is called.
  * The ID3D11Device used to create ID3D11DeviceContext must have multithreading enabled.
  *
  * If the ID3D11DeviceContext is used outside of the callbacks called by libvlc, the host
-- 
2.29.2



More information about the vlc-devel mailing list