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
b1353591
Commit
b1353591
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
Added .thd extension and force TrueHD decoder in raw MLP/TrueHD demuxer.
Cherry-picked manually by jb@videolan.org
parent
a5ae5407
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/demux/mpeg/es.c
modules/demux/mpeg/es.c
+3
-1
No files found.
modules/demux/mpeg/es.c
View file @
b1353591
...
@@ -66,6 +66,7 @@ vlc_module_begin ()
...
@@ -66,6 +66,7 @@ vlc_module_begin ()
add_shortcut
(
"dts"
)
add_shortcut
(
"dts"
)
add_shortcut
(
"mlp"
)
add_shortcut
(
"mlp"
)
add_shortcut
(
"thd"
)
vlc_module_end
()
vlc_module_end
()
/*****************************************************************************
/*****************************************************************************
...
@@ -139,6 +140,7 @@ static const codec_t p_codec[] = {
...
@@ -139,6 +140,7 @@ static const codec_t p_codec[] = {
{
VLC_FOURCC
(
'e'
,
'a'
,
'c'
,
'3'
),
true
,
"eac3 audio"
,
EA52Probe
,
A52Init
},
{
VLC_FOURCC
(
'e'
,
'a'
,
'c'
,
'3'
),
true
,
"eac3 audio"
,
EA52Probe
,
A52Init
},
{
VLC_FOURCC
(
'd'
,
't'
,
's'
,
' '
),
false
,
"dts audio"
,
DtsProbe
,
DtsInit
},
{
VLC_FOURCC
(
'd'
,
't'
,
's'
,
' '
),
false
,
"dts audio"
,
DtsProbe
,
DtsInit
},
{
VLC_FOURCC
(
'm'
,
'l'
,
'p'
,
' '
),
false
,
"mlp audio"
,
MlpProbe
,
MlpInit
},
{
VLC_FOURCC
(
'm'
,
'l'
,
'p'
,
' '
),
false
,
"mlp audio"
,
MlpProbe
,
MlpInit
},
{
VLC_FOURCC
(
't'
,
'r'
,
'h'
,
'd'
),
false
,
"mlp audio"
,
MlpProbe
,
MlpInit
},
{
0
,
false
,
NULL
,
NULL
,
NULL
}
{
0
,
false
,
NULL
,
NULL
,
NULL
}
};
};
...
@@ -835,7 +837,7 @@ static int MlpCheckSync( const uint8_t *p_peek )
...
@@ -835,7 +837,7 @@ static int MlpCheckSync( const uint8_t *p_peek )
}
}
static
int
MlpProbe
(
demux_t
*
p_demux
,
int64_t
*
pi_offset
)
static
int
MlpProbe
(
demux_t
*
p_demux
,
int64_t
*
pi_offset
)
{
{
const
char
*
ppsz_name
[]
=
{
"mlp"
,
NULL
};
const
char
*
ppsz_name
[]
=
{
"mlp"
,
"thd"
,
NULL
};
return
GenericProbe
(
p_demux
,
pi_offset
,
ppsz_name
,
MlpCheckSync
,
4
+
28
+
16
*
4
);
return
GenericProbe
(
p_demux
,
pi_offset
,
ppsz_name
,
MlpCheckSync
,
4
+
28
+
16
*
4
);
}
}
...
...
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