summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-01 14:18:06 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-01 14:18:06 +0000
commit147aa0219a7900ec2e907c8cb5d1267259d2d363 (patch)
treecb5a9c4e567b99f4f8f1475db0ebddbd1022ba33 /cfg-common.h
parent381682bc97df92cd1802adcee06813bc45193a3f (diff)
downloadmpv-147aa0219a7900ec2e907c8cb5d1267259d2d363.tar.bz2
mpv-147aa0219a7900ec2e907c8cb5d1267259d2d363.tar.xz
new rtsp-destination option which allows forcing destination ip address (fixes some issues with some reluctant rtsp servers)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18879 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cfg-common.h b/cfg-common.h
index e01cb9674d..484cb38f23 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -74,7 +74,8 @@
{"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
#endif
{"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL},
-
+ {"rtsp-destination", &rtsp_destination, CONF_TYPE_STRING, CONF_MIN, 0, 0, NULL},
+
// ------------------------- demuxer options --------------------
// number of frames to play/convert
@@ -416,6 +417,7 @@ extern int flip_hebrew;
extern int rtspStreamOverTCP;
#endif
extern int rtsp_port;
+extern char *rtsp_destination;
extern int audio_stream_cache;