Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
190ae57d
Commit
190ae57d
authored
May 12, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmsh: cleanup
parent
ecfdb8c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
+16
-15
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+16
-15
No files found.
modules/access/mms/mmsh.c
View file @
190ae57d
...
...
@@ -463,17 +463,17 @@ static int Reset( access_t *p_access )
if
(
p_sys
->
i_header
<=
0
)
return
VLC_EGENERIC
;
asf_HeaderParse
(
&
p_sys
->
asfh
,
p_sys
->
p_header
,
p_sys
->
i_header
);
asf_HeaderParse
(
&
p_sys
->
asfh
,
p_sys
->
p_header
,
p_sys
->
i_header
);
msg_Dbg
(
p_access
,
"packet count=%"
PRId64
" packet size=%d"
,
p_sys
->
asfh
.
i_data_packets_count
,
p_sys
->
asfh
.
i_min_data_packet_size
);
asf_StreamSelect
(
&
p_sys
->
asfh
,
var_CreateGetInteger
(
p_access
,
"mms-maxbitrate"
),
var_CreateGetInteger
(
p_access
,
"mms-all"
),
var_CreateGetInteger
(
p_access
,
"audio"
),
var_CreateGetInteger
(
p_access
,
"video"
)
);
asf_StreamSelect
(
&
p_sys
->
asfh
,
var_CreateGetInteger
(
p_access
,
"mms-maxbitrate"
),
var_CreateGetInteger
(
p_access
,
"mms-all"
),
var_CreateGetInteger
(
p_access
,
"audio"
),
var_CreateGetInteger
(
p_access
,
"video"
)
);
/* Check we have comptible asfh */
for
(
i
=
1
;
i
<
128
;
i
++
)
...
...
@@ -566,7 +566,8 @@ static int Describe( access_t *p_access, char **ppsz_location )
p_sys
->
i_packet_used
=
0
;
p_sys
->
i_packet_length
=
0
;
p_sys
->
p_packet
=
NULL
;
GenerateGuid
(
&
p_sys
->
guid
);
GenerateGuid
(
&
p_sys
->
guid
);
if
(
OpenConnection
(
p_access
)
)
return
VLC_EGENERIC
;
...
...
@@ -695,8 +696,8 @@ static int Describe( access_t *p_access, char **ppsz_location )
*
* TODO : stream bitrates properties(optional)
* and bitrate mutual exclusion(optional) */
asf_HeaderParse
(
&
p_sys
->
asfh
,
p_sys
->
p_header
,
p_sys
->
i_header
);
asf_HeaderParse
(
&
p_sys
->
asfh
,
p_sys
->
p_header
,
p_sys
->
i_header
);
msg_Dbg
(
p_access
,
"packet count=%"
PRId64
" packet size=%d"
,
p_sys
->
asfh
.
i_data_packets_count
,
p_sys
->
asfh
.
i_min_data_packet_size
);
...
...
@@ -704,11 +705,11 @@ static int Describe( access_t *p_access, char **ppsz_location )
if
(
p_sys
->
asfh
.
i_min_data_packet_size
<=
0
)
goto
error
;
asf_StreamSelect
(
&
p_sys
->
asfh
,
var_CreateGetInteger
(
p_access
,
"mms-maxbitrate"
),
var_CreateGetInteger
(
p_access
,
"mms-all"
),
var_CreateGetInteger
(
p_access
,
"audio"
),
var_CreateGetInteger
(
p_access
,
"video"
)
);
asf_StreamSelect
(
&
p_sys
->
asfh
,
var_CreateGetInteger
(
p_access
,
"mms-maxbitrate"
),
var_CreateGetInteger
(
p_access
,
"mms-all"
),
var_CreateGetInteger
(
p_access
,
"audio"
),
var_CreateGetInteger
(
p_access
,
"video"
)
);
return
VLC_SUCCESS
;
error:
...
...
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