Mercurial > mplayer.hg
diff libmpdemux/demux_nemesi.c @ 25156:512f2958dc1b
Enable -rtsp-port for nemesi
author | lu_zero |
---|---|
date | Tue, 27 Nov 2007 21:31:47 +0000 |
parents | 1e76bb01331f |
children | 239330301b33 |
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;