[vlc-devel] commit: Fix RTSP server ( Rafaël Carré )

git version control git at videolan.org
Thu Apr 10 17:18:37 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Apr 10 17:09:10 2008 +0200| [eee192243dbe28ce3ff1a1aa0072b90522618a8b]

Fix RTSP server

Do not handle Range requests at all
This partly reverts 53474be3f66f0cdc722471f1f5aadf757e541c42

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eee192243dbe28ce3ff1a1aa0072b90522618a8b
---

 modules/stream_out/rtsp.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/stream_out/rtsp.c b/modules/stream_out/rtsp.c
index 856d423..ced5aa0 100644
--- a/modules/stream_out/rtsp.c
+++ b/modules/stream_out/rtsp.c
@@ -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 )




More information about the vlc-devel mailing list