Commit 09b2d923 authored by Pierre Ynard's avatar Pierre Ynard

rtp sout: fix comment about TTL

We don't use the TTL value in SDP anymore, but we still do in RTSP
parent 531c7a06
...@@ -457,9 +457,9 @@ static int Open( vlc_object_t *p_this ) ...@@ -457,9 +457,9 @@ static int Open( vlc_object_t *p_this )
if( p_sys->i_ttl == -1 ) if( p_sys->i_ttl == -1 )
{ {
/* Normally, we should let the default hop limit up to the core, /* 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 * but we have to know it to write our RTSP headers properly,
* we ask the core. FIXME: broken when neither sout-rtp-ttl nor * which is why we ask the core. FIXME: broken when neither
* ttl are set. */ * sout-rtp-ttl nor ttl are set. */
p_sys->i_ttl = var_InheritInteger( p_stream, "ttl" ); p_sys->i_ttl = var_InheritInteger( p_stream, "ttl" );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment