]> git.sesse.net Git - vlc/commitdiff
vout_ReleasePicture: do not wake up the video output thread
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 30 Oct 2014 20:44:42 +0000 (22:44 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 1 Nov 2014 07:26:11 +0000 (09:26 +0200)
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.)

src/video_output/video_output.c

index 522adcdcedbeaab2df8347569713f0335c5f009c..83df593f8a8b161c7f90c14ee61243df6a241409 100644 (file)
@@ -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);
 }
 
 /**