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
f61e66e9
Commit
f61e66e9
authored
Aug 08, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PS: Update comments about evobs
parent
cb4ba4c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/demux/ps.h
modules/demux/ps.h
+5
-5
No files found.
modules/demux/ps.h
View file @
f61e66e9
...
...
@@ -84,14 +84,14 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id )
tk
->
i_id
=
i_id
;
if
(
(
i_id
&
0xff00
)
==
0xbd00
)
/* 0xBD00 -> 0xBDFF, Private Stream 1 */
{
if
(
(
i_id
&
0xf8
)
==
0x88
||
/* 0x88 -> 0x8f */
(
i_id
&
0xf8
)
==
0x98
)
/* 0x98 -> 0x9f */
if
(
(
i_id
&
0xf8
)
==
0x88
||
/* 0x88 -> 0x8f
- Can be DTS-HD primary audio in evob
*/
(
i_id
&
0xf8
)
==
0x98
)
/* 0x98 -> 0x9f
- Can be DTS-HD secondary audio in evob
*/
{
es_format_Init
(
&
tk
->
fmt
,
AUDIO_ES
,
VLC_CODEC_DTS
);
tk
->
i_skip
=
4
;
}
else
if
(
(
i_id
&
0xf8
)
==
0x80
||
/* 0x80 -> 0x87 */
(
i_id
&
0xf0
)
==
0xc0
)
/* 0xc0 -> 0xcf AC-3, Can also be
used for DD+/E-AC-3
*/
(
i_id
&
0xf0
)
==
0xc0
)
/* 0xc0 -> 0xcf AC-3, Can also be
DD+/E-AC3 in evob
*/
{
es_format_Init
(
&
tk
->
fmt
,
AUDIO_ES
,
VLC_CODEC_A52
);
tk
->
i_skip
=
4
;
...
...
@@ -132,8 +132,8 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id )
else
if
(
(
i_id
&
0xff00
)
==
0xfd00
)
/* 0xFD00 -> 0xFDFF */
{
uint8_t
i_sub_id
=
i_id
&
0xff
;
if
(
i_sub_id
>=
0x55
&&
i_sub_id
<=
0x5f
||
i_sub_id
>=
0x75
&&
i_sub_id
<=
0x7f
)
if
(
i_sub_id
>=
0x55
&&
i_sub_id
<=
0x5f
||
/* Can be primary VC-1 in evob */
i_sub_id
>=
0x75
&&
i_sub_id
<=
0x7f
)
/* Secondary VC-1 */
{
es_format_Init
(
&
tk
->
fmt
,
VIDEO_ES
,
VLC_CODEC_VC1
);
}
...
...
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