[vlc-commits] decoder: remove bogus buffering signal

Rémi Denis-Courmont git at videolan.org
Fri Apr 24 22:47:03 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 24 21:30:10 2015 +0300| [2e6b61f88da7caae9f7df28ebda56dea8d4fa946] | committer: Rémi Denis-Courmont

decoder: remove bogus buffering signal

Allocating a picture does not mean much w.r.t. buffering. The decoder
may just have started.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e6b61f88da7caae9f7df28ebda56dea8d4fa946
---

 src/input/decoder.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index c4265a4..68931d4 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -434,15 +434,6 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )
         if( p_picture )
             return p_picture;
 
-        /* */
-        vlc_mutex_lock( &p_owner->lock );
-        if( p_owner->b_waiting )
-        {
-            p_owner->b_has_data = true;
-            vlc_cond_signal( &p_owner->wait_acknowledge );
-        }
-        vlc_mutex_unlock( &p_owner->lock );
-
         /* FIXME add a vout_WaitPictureAvailable (timedwait) */
         msleep( VOUT_OUTMEM_SLEEP );
     }



More information about the vlc-commits mailing list