Mercurial > mplayer.hg
changeset 25156:512f2958dc1b
Enable -rtsp-port for nemesi
author | lu_zero |
---|---|
date | Tue, 27 Nov 2007 21:31:47 +0000 |
parents | 5ff44f300c95 |
children | cf3b6015735d |
files | libmpdemux/demux_nemesi.c stream/stream_nemesi.c |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_nemesi.c Tue Nov 27 21:17:20 2007 +0000 +++ b/libmpdemux/demux_nemesi.c Tue Nov 27 21:31:47 2007 +0000 @@ -25,7 +25,7 @@ int rtsp_transport_tcp = 0; int rtsp_transport_sctp = 0; -// extern int rtsp_port; +int rtsp_port = 0; typedef struct { char * mime; @@ -145,7 +145,7 @@ Nemesi_DemuxerStreamData * ndsd = calloc(1, sizeof(Nemesi_DemuxerStreamData)); memset(&hints,0,sizeof(hints)); -// if (rtsp_port) hints.first_rtp_port = rtsp_port; + if (rtsp_port) hints.first_rtp_port = rtsp_port; if (rtsp_transport_tcp) { hints.pref_rtsp_proto = TCP; hints.pref_rtp_proto = TCP;