]> git.sesse.net Git - vlc/commitdiff
* modules/misc/rtsp.c: fixed pause.
authorGildas Bazin <gbazin@videolan.org>
Thu, 23 Sep 2004 09:08:08 +0000 (09:08 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 23 Sep 2004 09:08:08 +0000 (09:08 +0000)
modules/misc/rtsp.c

index 02d089db2ecdad59166a77edc2e40dabecedd85f..9c079d65beb15fe341097b7a21f7ff8d4a0d2ea6 100644 (file)
@@ -666,7 +666,12 @@ static int RtspCallback( httpd_callback_sys_t *p_args, httpd_client_t *cl,
 
             vod_MediaControl( p_vod, p_media, psz_session, VOD_MEDIA_PAUSE );
             p_rtsp->b_paused = VLC_TRUE;
-            return VLC_EGENERIC;
+
+            answer->i_status = 200;
+            answer->psz_status = strdup( "OK" );
+            answer->i_body = 0;
+            answer->p_body = NULL;
+            break;
 
         case HTTPD_MSG_TEARDOWN:
             /* for now only multicast so easy again */