[MPlayer-cvslog] r22721 - trunk/stream/librtsp/rtsp_session.c

rtogni subversion at mplayerhq.hu
Sun Mar 18 17:50:27 CET 2007


Author: rtogni
Date: Sun Mar 18 17:50:26 2007
New Revision: 22721

Modified:
   trunk/stream/librtsp/rtsp_session.c

Log:
Support application/smil as mimetype for smil-over-realrtsp
Fixes rtsp://www.russiantvonline.com/smils/live.smil


Modified: trunk/stream/librtsp/rtsp_session.c
==============================================================================
--- trunk/stream/librtsp/rtsp_session.c	(original)
+++ trunk/stream/librtsp/rtsp_session.c	Sun Mar 18 17:50:26 2007
@@ -140,7 +140,8 @@ rtsp_session_t *rtsp_session_start(int f
     }
 	
     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;



More information about the MPlayer-cvslog mailing list