[MPlayer-cvslog] r25184 - in trunk: libmpdemux/demux_nemesi.c stream/stream_nemesi.c
lu_zero
subversion at mplayerhq.hu
Tue Nov 27 22:31:48 CET 2007
Author: lu_zero
Date: Tue Nov 27 22:31:47 2007
New Revision: 25184
Log:
Enable -rtsp-port for nemesi
Modified:
trunk/libmpdemux/demux_nemesi.c
trunk/stream/stream_nemesi.c
Modified: trunk/libmpdemux/demux_nemesi.c
==============================================================================
--- trunk/libmpdemux/demux_nemesi.c (original)
+++ trunk/libmpdemux/demux_nemesi.c Tue Nov 27 22:31:47 2007
@@ -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* dem
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;
Modified: trunk/stream/stream_nemesi.c
==============================================================================
--- trunk/stream/stream_nemesi.c (original)
+++ trunk/stream/stream_nemesi.c Tue Nov 27 22:31:47 2007
@@ -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,
More information about the MPlayer-cvslog
mailing list