]> git.sesse.net Git - vlc/blobdiff - src/input/es_out.c
Do not rebufferize when transcoding to a non real time output.
[vlc] / 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 );