summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmpdemux/demux_nemesi.c4
-rw-r--r--stream/stream_nemesi.c1
2 files changed, 2 insertions, 3 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;
diff --git a/stream/stream_nemesi.c b/stream/stream_nemesi.c
index 2ab058ebfb..a3f98a6a09 100644
--- a/stream/stream_nemesi.c
+++ b/stream/stream_nemesi.c
@@ -35,7 +35,6 @@
#include "tcp.h"
extern int network_bandwidth;
-int rtsp_port = 0;
char *rtsp_destination = NULL;
static int rtsp_streaming_seek(int fd, off_t pos,