[vlc-devel] commit: Do not rebufferize when transcoding to a non real time output. ( Laurent Aimar )

git version control git at videolan.org
Sat Dec 12 19:24:50 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Dec 12 19:17:38 2009 +0100| [52e0dc0d6bf7349b008b755b9323155374c9a612] | committer: Laurent Aimar 

Do not rebufferize when transcoding to a non real time output.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=52e0dc0d6bf7349b008b755b9323155374c9a612
---

 src/input/es_out.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 99b6059..02dc8b8 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -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 );
 




More information about the vlc-devel mailing list