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
88d70be0
Commit
88d70be0
authored
Jun 13, 2009
by
Laurent Aimar
Committed by
Jean-Baptiste Kempf
Jun 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow MLP packetizer to parse TrueHD codec.
Manually chery-picked by jb@videolan.org
parent
8a5247ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/packetizer/mlp.c
modules/packetizer/mlp.c
+3
-2
No files found.
modules/packetizer/mlp.c
View file @
88d70be0
...
...
@@ -120,7 +120,8 @@ static int Open( vlc_object_t *p_this )
decoder_t
*
p_dec
=
(
decoder_t
*
)
p_this
;
decoder_sys_t
*
p_sys
;
if
(
p_dec
->
fmt_in
.
i_codec
!=
VLC_FOURCC
(
'm'
,
'l'
,
'p'
,
' '
)
)
if
(
p_dec
->
fmt_in
.
i_codec
!=
VLC_FOURCC
(
'm'
,
'l'
,
'p'
,
' '
)
||
p_dec
->
fmt_in
.
i_codec
!=
VLC_FOURCC
(
't'
,
'r'
,
'h'
,
'd'
)
)
return
VLC_EGENERIC
;
/* */
...
...
@@ -137,7 +138,7 @@ static int Open( vlc_object_t *p_this )
/* Set output properties */
p_dec
->
fmt_out
.
i_cat
=
AUDIO_ES
;
p_dec
->
fmt_out
.
i_codec
=
VLC_FOURCC
(
'
m'
,
'l'
,
'p'
,
'
'
);
p_dec
->
fmt_out
.
i_codec
=
VLC_FOURCC
(
'
t'
,
'r'
,
'h'
,
'd
'
);
p_dec
->
fmt_out
.
audio
.
i_rate
=
0
;
/* Set callback */
...
...
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