[vlc-commits] aout: remove stray mixer FIFO locking

Rémi Denis-Courmont git at videolan.org
Sat Jun 11 12:14:40 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jun 11 13:14:09 2011 +0300| [1616903a3af4cf435395548f0a524ec417af2309] | committer: Rémi Denis-Courmont

aout: remove stray mixer FIFO locking

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

 src/audio_output/input.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/audio_output/input.c b/src/audio_output/input.c
index 0a8daa7..b47b1c7 100644
--- a/src/audio_output/input.c
+++ b/src/audio_output/input.c
@@ -557,9 +557,7 @@ int aout_InputPlay( aout_instance_t * p_aout, aout_input_t * p_input,
          * happen :). */
         msg_Warn( p_aout, "computed PTS is out of range (%"PRId64"), "
                   "clearing out", now - start_date );
-        aout_lock_input_fifos( p_aout );
         aout_FifoSet( &p_input->mixer.fifo, 0 );
-        aout_unlock_input_fifos( p_aout );
         if ( p_input->i_resampling_type != AOUT_RESAMPLING_NONE )
             msg_Warn( p_aout, "timing screwed, stopping resampling" );
         inputResamplingStop( p_input );



More information about the vlc-commits mailing list