[vlc-devel] commit: Used var_Inherit in mms access. (Laurent Aimar )
git version control
git at videolan.org
Thu Feb 11 21:47:44 CET 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Feb 10 23:06:06 2010 +0100| [e2e26c97576452c1cf0a90b4cea8eddc09efb5a0] | committer: Laurent Aimar
Used var_Inherit in mms access.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e2e26c97576452c1cf0a90b4cea8eddc09efb5a0
---
modules/access/mms/mmsh.c | 16 ++++++++--------
modules/access/mms/mmstu.c | 4 ++--
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/modules/access/mms/mmsh.c b/modules/access/mms/mmsh.c
index b636f1d..6257880 100644
--- a/modules/access/mms/mmsh.c
+++ b/modules/access/mms/mmsh.c
@@ -462,10 +462,10 @@ static int Reset( access_t *p_access )
p_sys->asfh.i_min_data_packet_size );
asf_StreamSelect( &p_sys->asfh,
- var_CreateGetInteger( p_access, "mms-maxbitrate" ),
- var_CreateGetBool( p_access, "mms-all" ),
- var_CreateGetBool( p_access, "audio" ),
- var_CreateGetBool( p_access, "video" ) );
+ var_InheritInteger( p_access, "mms-maxbitrate" ),
+ var_InheritBool( p_access, "mms-all" ),
+ var_InheritBool( p_access, "audio" ),
+ var_InheritBool( p_access, "video" ) );
/* Check we have comptible asfh */
for( i = 1; i < 128; i++ )
@@ -699,10 +699,10 @@ static int Describe( access_t *p_access, char **ppsz_location )
goto error;
asf_StreamSelect( &p_sys->asfh,
- var_CreateGetInteger( p_access, "mms-maxbitrate" ),
- var_CreateGetBool( p_access, "mms-all" ),
- var_CreateGetBool( p_access, "audio" ),
- var_CreateGetBool( p_access, "video" ) );
+ var_InheritInteger( p_access, "mms-maxbitrate" ),
+ var_InheritBool( p_access, "mms-all" ),
+ var_InheritBool( p_access, "audio" ),
+ var_InheritBool( p_access, "video" ) );
return VLC_SUCCESS;
error:
diff --git a/modules/access/mms/mmstu.c b/modules/access/mms/mmstu.c
index efb7be6..c322c30 100644
--- a/modules/access/mms/mmstu.c
+++ b/modules/access/mms/mmstu.c
@@ -798,8 +798,8 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
asf_HeaderParse ( &p_sys->asfh,
p_sys->p_header, p_sys->i_header );
asf_StreamSelect( &p_sys->asfh,
- var_CreateGetInteger( p_access, "mms-maxbitrate" ),
- var_CreateGetBool( p_access, "mms-all" ),
+ var_InheritInteger( p_access, "mms-maxbitrate" ),
+ var_InheritBool( p_access, "mms-all" ),
var_InheritBool( p_access, "audio" ),
var_InheritBool( p_access, "video" ) );
More information about the vlc-devel
mailing list