[vlc-devel] [PATCH 1/9] video_output: document what display_lock really locks

Steve Lhomme robux4 at ycbcr.xyz
Thu Oct 10 16:26:56 CEST 2019


---
 src/video_output/vout_internal.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/video_output/vout_internal.h b/src/video_output/vout_internal.h
index 29f2144f82b..799f4e72895 100644
--- a/src/video_output/vout_internal.h
+++ b/src/video_output/vout_internal.h
@@ -177,6 +177,9 @@ struct vout_thread_sys_t
     /* Video output display */
     vout_display_cfg_t display_cfg;
     vout_display_t *display;
+    /* protect access to display between the vout thread and the
+       multiple threads of the vout owner
+       may be locked while window_lock is locked */
     vlc_mutex_t     display_lock;
 
     picture_pool_t  *private_pool;
-- 
2.17.1



More information about the vlc-devel mailing list