[vlc-devel] commit: rtp sout: fix comment about TTL (Pierre Ynard )
git version control
git at videolan.org
Thu Jan 21 21:19:01 CET 2010
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Thu Jan 21 21:17:57 2010 +0100| [09b2d92372c384a51696a6c917d9f103609ba399] | committer: Pierre Ynard
rtp sout: fix comment about TTL
We don't use the TTL value in SDP anymore, but we still do in RTSP
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=09b2d92372c384a51696a6c917d9f103609ba399
---
modules/stream_out/rtp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index fb32570..e20669e 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -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" );
}
More information about the vlc-devel
mailing list