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
7074dbe1
Commit
7074dbe1
authored
May 26, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used VLC_CODEC_OGT/CVD in ps demuxer.
parent
08737f85
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/demux/ps.c
modules/demux/ps.c
+2
-2
modules/demux/ps.h
modules/demux/ps.h
+2
-2
No files found.
modules/demux/ps.c
View file @
7074dbe1
...
@@ -391,8 +391,8 @@ static int Demux( demux_t *p_demux )
...
@@ -391,8 +391,8 @@ static int Demux( demux_t *p_demux )
/* The popular VCD/SVCD subtitling WinSubMux does not
/* The popular VCD/SVCD subtitling WinSubMux does not
* renumber the SCRs when merging subtitles into the PES */
* renumber the SCRs when merging subtitles into the PES */
if
(
tk
->
b_seen
&&
if
(
tk
->
b_seen
&&
(
tk
->
fmt
.
i_codec
==
VLC_
FOURCC
(
'o'
,
'g'
,
't'
,
' '
)
||
(
tk
->
fmt
.
i_codec
==
VLC_
CODEC_OGT
||
tk
->
fmt
.
i_codec
==
VLC_
FOURCC
(
'c'
,
'v'
,
'd'
,
' '
)
)
)
tk
->
fmt
.
i_codec
==
VLC_
CODEC_CVD
)
)
{
{
p_sys
->
i_scr
=
-
1
;
p_sys
->
i_scr
=
-
1
;
}
}
...
...
modules/demux/ps.h
View file @
7074dbe1
...
@@ -112,11 +112,11 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id )
...
@@ -112,11 +112,11 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id )
}
}
else
if
(
(
i_id
&
0xff
)
==
0x70
)
else
if
(
(
i_id
&
0xff
)
==
0x70
)
{
{
es_format_Init
(
&
tk
->
fmt
,
SPU_ES
,
VLC_
FOURCC
(
'o'
,
'g'
,
't'
,
' '
)
);
es_format_Init
(
&
tk
->
fmt
,
SPU_ES
,
VLC_
CODEC_OGT
);
}
}
else
if
(
(
i_id
&
0xfc
)
==
0x00
)
else
if
(
(
i_id
&
0xfc
)
==
0x00
)
{
{
es_format_Init
(
&
tk
->
fmt
,
SPU_ES
,
VLC_
FOURCC
(
'c'
,
'v'
,
'd'
,
' '
)
);
es_format_Init
(
&
tk
->
fmt
,
SPU_ES
,
VLC_
CODEC_CVD
);
}
}
else
if
(
(
i_id
&
0xff
)
==
0x10
)
else
if
(
(
i_id
&
0xff
)
==
0x10
)
{
{
...
...
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