Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7436e1ea
Commit
7436e1ea
authored
Apr 19, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MMS: improve documentation and debug messages
parent
f7986362
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+8
-3
No files found.
modules/access/mms/mmsh.c
View file @
7436e1ea
...
...
@@ -941,7 +941,7 @@ static int GetPacket( access_t * p_access, chunk_t *p_ck )
p_ck
->
p_data
=
p_sys
->
buffer
+
12
;
p_ck
->
i_data
=
p_ck
->
i_size2
-
8
;
if
(
p_ck
->
i_type
==
0x4524
)
//
Transfer complete
if
(
p_ck
->
i_type
==
0x4524
)
//
$E (End-of-Stream Notification) Packet
{
if
(
p_ck
->
i_sequence
==
0
)
{
...
...
@@ -954,7 +954,7 @@ static int GetPacket( access_t * p_access, chunk_t *p_ck )
return
VLC_EGENERIC
;
}
}
else
if
(
p_ck
->
i_type
==
0x4324
)
else
if
(
p_ck
->
i_type
==
0x4324
)
// $C (Stream Change Notification) Packet
{
/* 0x4324 is CHUNK_TYPE_RESET: a new stream will follow with a sequence of 0 */
msg_Warn
(
p_access
,
"next stream following (reset) seq=%d"
,
p_ck
->
i_sequence
);
...
...
@@ -962,7 +962,12 @@ static int GetPacket( access_t * p_access, chunk_t *p_ck )
}
else
if
(
(
p_ck
->
i_type
!=
0x4824
)
&&
(
p_ck
->
i_type
!=
0x4424
)
)
{
msg_Err
(
p_access
,
"invalid chunk FATAL (0x%x)"
,
p_ck
->
i_type
);
/* Unsupported so far:
* $M (Metadata) Packet 0x4D24
* $P (Packet-Pair) Packet 0x5024
* $T (Test Data Notification) Packet 0x5424
*/
msg_Err
(
p_access
,
"unrecognized chunk FATAL (0x%x)"
,
p_ck
->
i_type
);
return
VLC_EGENERIC
;
}
...
...
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