Changeset 6da562f9bfaa51e09c4bc8b1e75c5f30229c5057

Show
Ignore:
Timestamp:
26/10/05 11:14:14 (3 years ago)
Author:
Marian Durkovic <md@videolan.org>
git-committer:
Marian Durkovic <md@videolan.org> 1130318054 +0000
git-parent:

[6016460e5326686f14123f5db7d16f12dc8cbd64]

git-author:
Marian Durkovic <md@videolan.org> 1130318054 +0000
Message:

fixed SAP c= line TTL issue in #standard,
--sout-udp-ttl takes precedence over -ttl

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/stream_out/standard.c

    r396d39f r6da562f  
    369369            p_session->psz_sdp = NULL; 
    370370 
    371             p_session->i_ttl = config_GetInt( p_sout, "ttl" ); 
     371            var_Get( p_access, "sout-udp-ttl", &val ); 
     372            p_session->i_ttl = val.i_int ?  
     373                val.i_int : config_GetInt( p_sout, "ttl" ); 
    372374            p_session->i_payload = 33; 
    373375            p_session->b_rtp = strstr( psz_access, "rtp") ? 1 : 0;