]> git.sesse.net Git - vlc/commitdiff
Do not rebufferize when transcoding to a non real time output.
authorLaurent Aimar <fenrir@videolan.org>
Sat, 12 Dec 2009 18:17:38 +0000 (19:17 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 12 Dec 2009 18:23:57 +0000 (19:23 +0100)
src/input/es_out.c

index 99b605993c022f6e383d617ce403e8476297c7b0..02dc8b8f7a0bb40194ee635d0ea07476278299ff 100644 (file)
@@ -2288,7 +2288,8 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
                     /* Check buffering state on master clock update */
                     EsOutDecodersStopBuffering( out, false );
                 }
-                else if( b_late )
+                else if( b_late && ( !out->b_sout ||
+                                     !p_sys->p_input->p->b_out_pace_control ) )
                 {
                     mtime_t i_pts_delay = input_clock_GetJitter( p_pgrm->p_clock );