Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
e2e26c97
Commit
e2e26c97
authored
Feb 10, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used var_Inherit in mms access.
parent
42ef22bf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+8
-8
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+2
-2
No files found.
modules/access/mms/mmsh.c
View file @
e2e26c97
...
...
@@ -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_
CreateGe
tInteger
(
p_access
,
"mms-maxbitrate"
),
var_
CreateGe
tBool
(
p_access
,
"mms-all"
),
var_
CreateGe
tBool
(
p_access
,
"audio"
),
var_
CreateGe
tBool
(
p_access
,
"video"
)
);
var_
Inheri
tInteger
(
p_access
,
"mms-maxbitrate"
),
var_
Inheri
tBool
(
p_access
,
"mms-all"
),
var_
Inheri
tBool
(
p_access
,
"audio"
),
var_
Inheri
tBool
(
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_
CreateGe
tInteger
(
p_access
,
"mms-maxbitrate"
),
var_
CreateGe
tBool
(
p_access
,
"mms-all"
),
var_
CreateGe
tBool
(
p_access
,
"audio"
),
var_
CreateGe
tBool
(
p_access
,
"video"
)
);
var_
Inheri
tInteger
(
p_access
,
"mms-maxbitrate"
),
var_
Inheri
tBool
(
p_access
,
"mms-all"
),
var_
Inheri
tBool
(
p_access
,
"audio"
),
var_
Inheri
tBool
(
p_access
,
"video"
)
);
return
VLC_SUCCESS
;
error:
...
...
modules/access/mms/mmstu.c
View file @
e2e26c97
...
...
@@ -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_
CreateGe
tInteger
(
p_access
,
"mms-maxbitrate"
),
var_
CreateGe
tBool
(
p_access
,
"mms-all"
),
var_
Inheri
tInteger
(
p_access
,
"mms-maxbitrate"
),
var_
Inheri
tBool
(
p_access
,
"mms-all"
),
var_InheritBool
(
p_access
,
"audio"
),
var_InheritBool
(
p_access
,
"video"
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment