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
58065539
Commit
58065539
authored
Apr 13, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MKV: help debug in case of unrecognized codecs
parent
0044061f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
modules/demux/mkv/matroska_segment.cpp
modules/demux/mkv/matroska_segment.cpp
+2
-0
No files found.
modules/demux/mkv/matroska_segment.cpp
View file @
58065539
...
...
@@ -1094,6 +1094,8 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
wf_tag_to_fourcc
(
GetWLE
(
&
p_wf
->
wFormatTag
),
&
p_tk
->
fmt
.
i_codec
,
NULL
);
if
(
p_tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'u'
,
'n'
,
'd'
,
'f'
)
)
msg_Err
(
&
sys
.
demuxer
,
"Unrecognized wf tag: 0x%x"
,
GetWLE
(
&
p_wf
->
wFormatTag
)
);
p_tk
->
fmt
.
audio
.
i_channels
=
GetWLE
(
&
p_wf
->
nChannels
);
p_tk
->
fmt
.
audio
.
i_rate
=
GetDWLE
(
&
p_wf
->
nSamplesPerSec
);
p_tk
->
fmt
.
i_bitrate
=
GetDWLE
(
&
p_wf
->
nAvgBytesPerSec
)
*
8
;
...
...
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