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
b6b914ef
Commit
b6b914ef
authored
Aug 23, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MKV: improve debugging of metadata
parent
6b00c288
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
modules/demux/mkv/matroska_segment.cpp
modules/demux/mkv/matroska_segment.cpp
+13
-11
No files found.
modules/demux/mkv/matroska_segment.cpp
View file @
b6b914ef
...
...
@@ -218,16 +218,6 @@ void matroska_segment_c::LoadCues( KaxCues *cues )
}
#define PARSE_TAG( type ) \
do { \
msg_Dbg( &sys.demuxer, "| + " type ); \
ep->Down(); \
while( ( el = ep->Get() ) != NULL ) \
{ \
msg_Dbg( &sys.demuxer, "| | + Unknown (%s)", typeid( *el ).name() ); \
} \
ep->Up(); } while( 0 )
static
const
struct
{
vlc_meta_type_t
type
;
const
char
*
key
;
...
...
@@ -285,10 +275,11 @@ void matroska_segment_c::ParseSimpleTags( KaxTagSimple *tag )
if
(
!
strcmp
(
k
,
metadata_map
[
i
].
key
)
)
{
vlc_meta_Set
(
sys
.
meta
,
metadata_map
[
i
].
type
,
v
);
msg_Dbg
(
&
sys
.
demuxer
,
"| | + Meta %s: %s"
,
k
,
v
);
goto
done
;
}
}
msg_Dbg
(
&
sys
.
demuxer
,
"| | + %s: %s"
,
k
,
v
);
msg_Dbg
(
&
sys
.
demuxer
,
"| | +
Meta
%s: %s"
,
k
,
v
);
vlc_meta_AddExtra
(
sys
.
meta
,
k
,
v
);
done:
free
(
k
);
...
...
@@ -296,6 +287,17 @@ done:
return
;
}
#define PARSE_TAG( type ) \
do { \
msg_Dbg( &sys.demuxer, "| + " type ); \
ep->Down(); \
while( ( el = ep->Get() ) != NULL ) \
{ \
msg_Dbg( &sys.demuxer, "| | + Unknown (%s)", typeid( *el ).name() ); \
} \
ep->Up(); } while( 0 )
void
matroska_segment_c
::
LoadTags
(
KaxTags
*
tags
)
{
/* Master elements */
...
...
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