]> git.sesse.net Git - vlc/commitdiff
* sync up the outgoing shoutcast stream.
authorDerk-Jan Hartman <hartman@videolan.org>
Wed, 24 Aug 2005 14:19:48 +0000 (14:19 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Wed, 24 Aug 2005 14:19:48 +0000 (14:19 +0000)
modules/access_output/shout.c

index 6e31f0e2ccd45c9334a9eeb72e791ff9803e80e1..40b72a29e58a80f37307b1bc1ceb9600233b683b 100644 (file)
@@ -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;
     }