]> git.sesse.net Git - vlc/commitdiff
rtp sout: fix comment about TTL
authorPierre Ynard <linkfanel@yahoo.fr>
Thu, 21 Jan 2010 20:17:57 +0000 (21:17 +0100)
committerPierre Ynard <linkfanel@yahoo.fr>
Thu, 21 Jan 2010 20:17:57 +0000 (21:17 +0100)
We don't use the TTL value in SDP anymore, but we still do in RTSP

modules/stream_out/rtp.c

index fb32570dfaa6ec8507c132f1943448f7f5c64a16..e20669e40abbe6261c34349c0992e19bc228d099 100644 (file)
@@ -457,9 +457,9 @@ static int Open( vlc_object_t *p_this )
     if( p_sys->i_ttl == -1 )
     {
         /* Normally, we should let the default hop limit up to the core,
-         * but we have to know it to build our SDP properly, which is why
-         * we ask the core. FIXME: broken when neither sout-rtp-ttl nor
-         * ttl are set. */
+         * but we have to know it to write our RTSP headers properly,
+         * which is why we ask the core. FIXME: broken when neither
+         * sout-rtp-ttl nor ttl are set. */
         p_sys->i_ttl = var_InheritInteger( p_stream, "ttl" );
     }