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
50e5e71e
Commit
50e5e71e
authored
Jul 20, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PS: add rarer type-id
parent
b552c61c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
modules/demux/ps.h
modules/demux/ps.h
+7
-5
No files found.
modules/demux/ps.h
View file @
50e5e71e
...
...
@@ -174,10 +174,16 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id )
{
es_format_Init
(
&
tk
->
fmt
,
VIDEO_ES
,
VLC_CODEC_MP4V
);
}
else
if
(
(
i_id
&
0xf0
)
==
0xe0
&&
i_type
==
0x02
)
else
if
(
(
i_id
&
0xf0
)
==
0xe0
&&
i_type
==
0x01
||
(
i_id
&
0xf0
)
==
0xe0
&&
i_type
==
0x02
)
{
es_format_Init
(
&
tk
->
fmt
,
VIDEO_ES
,
VLC_CODEC_MPGV
);
}
else
if
(
(
i_id
&
0xe0
)
==
0xc0
&&
i_type
==
0x03
||
(
i_id
&
0xe0
)
==
0xc0
&&
i_type
==
0x04
)
{
es_format_Init
(
&
tk
->
fmt
,
AUDIO_ES
,
VLC_CODEC_MPGA
);
}
else
if
(
(
i_id
&
0xe0
)
==
0xc0
&&
i_type
==
0x0f
)
{
es_format_Init
(
&
tk
->
fmt
,
AUDIO_ES
,
VLC_CODEC_MP4A
);
...
...
@@ -186,10 +192,6 @@ 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_MP4A
);
}
else
if
(
(
i_id
&
0xe0
)
==
0xc0
&&
i_type
==
0x03
)
{
es_format_Init
(
&
tk
->
fmt
,
AUDIO_ES
,
VLC_CODEC_MPGA
);
}
if
(
tk
->
fmt
.
i_cat
==
UNKNOWN_ES
&&
(
i_id
&
0xf0
)
==
0xe0
)
{
...
...
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