[vlc-devel] commit: MMS: fix variable type ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Jan 14 19:45:02 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan 14 20:44:48 2010 +0200| [103f5b1b69361bd41335a8015ea87c84bfb0f7c5] | committer: Rémi Denis-Courmont 

MMS: fix variable type

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

 modules/access/mms/mmstu.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/mms/mmstu.c b/modules/access/mms/mmstu.c
index d4573f9..065d5b3 100644
--- a/modules/access/mms/mmstu.c
+++ b/modules/access/mms/mmstu.c
@@ -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 */




More information about the vlc-devel mailing list