* modules/access/mms: fixed recent breakage.
authorGildas Bazin <gbazin@videolan.org>
Mon, 14 Feb 2005 10:12:19 +0000 (10:12 +0000)
committerGildas Bazin <gbazin@videolan.org>
Mon, 14 Feb 2005 10:12:19 +0000 (10:12 +0000)
modules/access/mms/mmsh.c
modules/access/mms/mmstu.c

index 213c859..740bd25 100644 (file)
@@ -176,8 +176,13 @@ static int Control( access_t *p_access, int i_query, va_list args )
             pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* );
             *pb_bool = !p_sys->b_broadcast;
             break;
+
         case ACCESS_CAN_FASTSEEK:
         case ACCESS_CAN_PAUSE:
+            pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* );
+            *pb_bool = VLC_FALSE;
+            break;
+
         case ACCESS_CAN_CONTROL_PACE:
             pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* );
 
index 9b58d7c..aedd114 100644 (file)
@@ -259,8 +259,13 @@ static int Control( access_t *p_access, int i_query, va_list args )
             pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* );
             *pb_bool = p_sys->b_seekable;
             break;
+
         case ACCESS_CAN_FASTSEEK:
         case ACCESS_CAN_PAUSE:
+            pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* );
+            *pb_bool = VLC_FALSE;
+            break;
+
         case ACCESS_CAN_CONTROL_PACE:
             pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* );