diff options
author | lu_zero <lu_zero@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-27 21:31:47 +0000 |
---|---|---|
committer | lu_zero <lu_zero@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-27 21:31:47 +0000 |
commit | 8e18e416381c546fa77eba30ce15d3dfa2e9a4f3 (patch) | |
tree | bc3c1c510405b9e21ff51d7c080d36343697c9fe /libmpdemux | |
parent | d4e14ef53e1913afecf24ef5902590e1562bfa0a (diff) | |
download | mpv-8e18e416381c546fa77eba30ce15d3dfa2e9a4f3.tar.bz2 mpv-8e18e416381c546fa77eba30ce15d3dfa2e9a4f3.tar.xz |
Enable -rtsp-port for nemesi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25184 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_nemesi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/demux_nemesi.c b/libmpdemux/demux_nemesi.c index 5234b846c8..2f337c099c 100644 --- a/libmpdemux/demux_nemesi.c +++ b/libmpdemux/demux_nemesi.c @@ -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 @@ demuxer_t* demux_open_rtp(demuxer_t* demuxer) 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; |