[vlc-devel] commit: Do not ask stream layer to buffer data in UDP. (Laurent Aimar )

git version control git at videolan.org
Fri Sep 5 21:31:09 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Sep  5 21:32:43 2008 +0200| [fdbda686dbef53bc20adc01c5b34bd437e8072fa] | committer: Laurent Aimar 

Do not ask stream layer to buffer data in UDP.

It may improve TS clock synchro algo.

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

 modules/access/udp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/udp.c b/modules/access/udp.c
index 0e37351..0c22b43 100644
--- a/modules/access/udp.c
+++ b/modules/access/udp.c
@@ -99,7 +99,7 @@ static int Open( vlc_object_t *p_this )
     /* Set up p_access */
     access_InitFields( p_access );
     ACCESS_SET_CALLBACKS( NULL, BlockUDP, Control, NULL );
-    p_access->info.b_prebuffered = false;
+    p_access->info.b_prebuffered = true;
 
     if (strlen (p_access->psz_access) > 0)
     {




More information about the vlc-devel mailing list