Commit 0011cc99 authored by Jon Lech Johansen's avatar Jon Lech Johansen

* Fix for DTS over SPDIF stuttering. Someone please review.

parent af0f20c9
......@@ -2,7 +2,7 @@
* output.c : internal management of output streams for the audio output
*****************************************************************************
* Copyright (C) 2002-2004 VideoLAN
* $Id: output.c,v 1.44 2004/03/03 20:39:52 gbazin Exp $
* $Id$
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -246,6 +246,12 @@ void aout_OutputPlay( aout_instance_t * p_aout, aout_buffer_t * p_buffer )
p_aout->output.i_nb_filters,
&p_buffer );
if( p_buffer->i_nb_bytes == 0 )
{
aout_BufferFree( p_buffer );
return;
}
vlc_mutex_lock( &p_aout->output_fifo_lock );
aout_FifoPush( p_aout, &p_aout->output.fifo, p_buffer );
p_aout->output.pf_play( p_aout );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment