]> git.sesse.net Git - vlc/commitdiff
* Give the kasenna a bit more mtu space than it advises to you. Works a lot better.
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 22 Apr 2004 01:55:45 +0000 (01:55 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 22 Apr 2004 01:55:45 +0000 (01:55 +0000)
modules/demux/sgimb.c

index 974594b3043caea5dec644e0939e26fdd2c372a4..b6e75838aa4d7271986244d209532a38f984b747 100644 (file)
@@ -27,7 +27,7 @@
  * their MPEG streams (MIME: application/x-sgimb). Very few applications
  * understand this format and the format is not really documented on the net.
  * Following a typical MediaBase file. Notice the sgi prefix of all the elements.
- * This stems from the fact that the MediaBase server were first introduced by SGI?????.
+ * This stems from the fact that the MediaBase servers were first introduced by SGI?????.
  *
  * sgiNameServerHost=host.name.tld
  * Stream="xdma://host.name.tld/demo/a_very_cool.mpg"
@@ -327,6 +327,7 @@ static int Demux ( demux_t *p_demux )
     if( p_sys->i_packet_size && p_sys->psz_mcast_ip )
     {
         char *psz_option = (char *) malloc( 20 );
+        p_sys->i_packet_size += 1000;
         sprintf( psz_option, "mtu=%i", p_sys->i_packet_size );
         playlist_ItemAddOption( p_item, psz_option );
         free( psz_option );