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
42f39fd8
Commit
42f39fd8
authored
Aug 10, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PS: reorder by ID
parent
c128bd73
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
modules/demux/ps.h
modules/demux/ps.h
+12
-12
No files found.
modules/demux/ps.h
View file @
42f39fd8
...
...
@@ -96,32 +96,32 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id )
es_format_Init
(
&
tk
->
fmt
,
AUDIO_ES
,
VLC_CODEC_A52
);
tk
->
i_skip
=
4
;
}
else
if
(
(
i_id
&
0xf0
)
==
0xb0
)
/* 0xb0 -> 0xbf
*/
else
if
(
(
i_id
&
0xfc
)
==
0x00
)
/* 0x00 -> 0x03
*/
{
es_format_Init
(
&
tk
->
fmt
,
AUDIO_ES
,
VLC_CODEC_TRUEHD
);
tk
->
i_skip
=
5
;
es_format_Init
(
&
tk
->
fmt
,
SPU_ES
,
VLC_CODEC_CVD
);
}
else
if
(
(
i_id
&
0x
e0
)
==
0x20
)
/* 0x20 -> 0x3f
*/
else
if
(
(
i_id
&
0x
ff
)
==
0x10
)
/* 0x10
*/
{
es_format_Init
(
&
tk
->
fmt
,
SPU_ES
,
VLC_CODEC_SPU
);
tk
->
i_skip
=
1
;
es_format_Init
(
&
tk
->
fmt
,
SPU_ES
,
VLC_CODEC_TELETEXT
);
}
else
if
(
(
i_id
&
0x
f0
)
==
0xa0
)
/* 0xa0 -> 0xa
f */
else
if
(
(
i_id
&
0x
e0
)
==
0x20
)
/* 0x20 -> 0x3
f */
{
es_format_Init
(
&
tk
->
fmt
,
AUDIO_ES
,
VLC_CODEC_DVD_LPCM
);
es_format_Init
(
&
tk
->
fmt
,
SPU_ES
,
VLC_CODEC_SPU
);
tk
->
i_skip
=
1
;
}
else
if
(
(
i_id
&
0xff
)
==
0x70
)
/* 0x70 */
{
es_format_Init
(
&
tk
->
fmt
,
SPU_ES
,
VLC_CODEC_OGT
);
}
else
if
(
(
i_id
&
0xf
c
)
==
0x00
)
/* 0x00 -> 0x03
*/
else
if
(
(
i_id
&
0xf
0
)
==
0xa0
)
/* 0xa0 -> 0xaf
*/
{
es_format_Init
(
&
tk
->
fmt
,
SPU_ES
,
VLC_CODEC_CVD
);
es_format_Init
(
&
tk
->
fmt
,
AUDIO_ES
,
VLC_CODEC_DVD_LPCM
);
tk
->
i_skip
=
1
;
}
else
if
(
(
i_id
&
0xf
f
)
==
0x10
)
/* 0x10
*/
else
if
(
(
i_id
&
0xf
0
)
==
0xb0
)
/* 0xb0 -> 0xbf
*/
{
es_format_Init
(
&
tk
->
fmt
,
SPU_ES
,
VLC_CODEC_TELETEXT
);
es_format_Init
(
&
tk
->
fmt
,
AUDIO_ES
,
VLC_CODEC_TRUEHD
);
tk
->
i_skip
=
5
;
}
else
{
...
...
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