From: Derk-Jan Hartman Date: Wed, 24 Aug 2005 14:19:48 +0000 (+0000) Subject: * sync up the outgoing shoutcast stream. X-Git-Tag: 0.8.4~674 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=88e95e3e7765bda3324465c212463226e409f04c;p=vlc * sync up the outgoing shoutcast stream. --- diff --git a/modules/access_output/shout.c b/modules/access_output/shout.c index 6e31f0e2cc..40b72a29e5 100644 --- a/modules/access_output/shout.c +++ b/modules/access_output/shout.c @@ -228,6 +228,7 @@ static int Write( sout_access_out_t *p_access, block_t *p_buffer ) { size_t i_write = 0; + shout_sync( p_access->p_sys->p_shout ); while( p_buffer ) { block_t *p_next = p_buffer->p_next; @@ -246,7 +247,6 @@ static int Write( sout_access_out_t *p_access, block_t *p_buffer ) block_Release( p_buffer ); /* XXX: Unsure if that's the cause for some audio trouble... */ - //shout_sync( p_access->p_sys->p_shout ); p_buffer = p_next; }