Fix RTSP server
authorRafaël Carré <funman@videolan.org>
Thu, 10 Apr 2008 15:09:10 +0000 (17:09 +0200)
committerRafaël Carré <funman@videolan.org>
Thu, 10 Apr 2008 15:19:20 +0000 (17:19 +0200)
Do not handle Range requests at all
This partly reverts 53474be3f66f0cdc722471f1f5aadf757e541c42

modules/stream_out/rtsp.c

index 856d423..ced5aa0 100644 (file)
@@ -601,12 +601,14 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id,
             answer->i_status = 200;
 
             psz_session = httpd_MsgGet( query, "Session" );
+#if 0
+            /* FIXME: This breaks totem, mplayer and quicktime at least */
             if( httpd_MsgGet( query, "Range" ) != NULL )
             {
                 answer->i_status = 456; /* cannot seek */
                 break;
             }
-
+#endif
             vlc_mutex_lock( &rtsp->lock );
             ses = RtspClientGet( rtsp, psz_session );
             if( ses != NULL )