MMS: fix variable type
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 14 Jan 2010 18:44:48 +0000 (20:44 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 14 Jan 2010 18:44:48 +0000 (20:44 +0200)
modules/access/mms/mmstu.c

index d4573f9..065d5b3 100644 (file)
@@ -806,8 +806,8 @@ static int MMSOpen( access_t  *p_access, vlc_url_t *p_url, int  i_proto )
      asf_StreamSelect( &p_sys->asfh,
                            var_CreateGetInteger( p_access, "mms-maxbitrate" ),
                            var_CreateGetBool( p_access, "mms-all" ),
-                           var_CreateGetInteger( p_access, "audio" ),
-                           var_CreateGetInteger( p_access, "video" ) );
+                           var_InheritBool( p_access, "audio" ),
+                           var_InheritBool( p_access, "video" ) );
 
     /* *** now select stream we want to receive *** */
     /* TODO take care of stream bitrate TODO */