[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 22:02:28 CEST 2008


vlc | branch: 0.9-bugfix | Laurent Aimar <fenrir at videolan.org> | Fri Sep  5 21:32:43 2008 +0200| [97c254e979d6f1afb9260f969636b2555d2325a9] | 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=97c254e979d6f1afb9260f969636b2555d2325a9
---

 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 5a46d2a..7f9f88f 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