summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorrtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-18 16:50:26 +0000
committerrtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-18 16:50:26 +0000
commit3eae6645ecc4fec02fd1948775f3bc38c322a963 (patch)
tree62e809c2309e310448027586714229a50c1f4141 /stream
parent85dc8870363624d2982dfebc1f7d8c31e2a20bc6 (diff)
downloadmpv-3eae6645ecc4fec02fd1948775f3bc38c322a963.tar.bz2
mpv-3eae6645ecc4fec02fd1948775f3bc38c322a963.tar.xz
Support application/smil as mimetype for smil-over-realrtsp
Fixes rtsp://www.russiantvonline.com/smils/live.smil git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22721 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/librtsp/rtsp_session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/librtsp/rtsp_session.c b/stream/librtsp/rtsp_session.c
index ecc07501f9..cdc8d3d381 100644
--- a/stream/librtsp/rtsp_session.c
+++ b/stream/librtsp/rtsp_session.c
@@ -140,7 +140,8 @@ rtsp_session_t *rtsp_session_start(int fd, char **mrl, char *path, char *host,
}
rtsp_session->real_session = init_real_rtsp_session ();
- if(!strncmp(h->streams[0]->mime_type, "application/vnd.rn-rmadriver", h->streams[0]->mime_type_size)) {
+ if(!strncmp(h->streams[0]->mime_type, "application/vnd.rn-rmadriver", h->streams[0]->mime_type_size) ||
+ !strncmp(h->streams[0]->mime_type, "application/smil", h->streams[0]->mime_type_size)) {
rtsp_session->real_session->header_len = 0;
rtsp_session->real_session->recv_size = 0;
rtsp_session->real_session->rdt_rawdata = 1;