[vlc-commits] vout_ReleasePicture: do not wake up the video output	thread
    Rémi Denis-Courmont 
    git at videolan.org
       
    Sat Nov  1 10:31:46 CET 2014
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Oct 30 22:44:42 2014 +0200| [72f131d90da137cd73a3f9f1d05cedf873b358d4] | committer: Rémi Denis-Courmont
vout_ReleasePicture: do not wake up the video output thread
The video output thread never allocates pictures from the decoder
thread. It uses the reserve private pool and, when if not rendering
directly, the display pool. Thus it has nothing particular to do when
a decoder pool picture is released.
(vout_PutPicture() wakes the thread up to kick rendering.)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=72f131d90da137cd73a3f9f1d05cedf873b358d4
---
 src/video_output/video_output.c |    2 --
 1 file changed, 2 deletions(-)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 522adcd..83df593 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -461,8 +461,6 @@ void vout_ReleasePicture(vout_thread_t *vout, picture_t *picture)
     picture_Release(picture);
 
     vlc_mutex_unlock(&vout->p->picture_lock);
-
-    vout_control_Wake(&vout->p->control);
 }
 
 /**
    
    
More information about the vlc-commits
mailing list