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
ba1cc7ac
Commit
ba1cc7ac
authored
Sep 09, 2009
by
Simon Hailes
Committed by
Jean-Baptiste Kempf
Sep 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extended PSI DVB subtitle types to include 0x14/0x28 (indicates DDS present in HD spec)
Patch corrected by <jb@videolan.org>
parent
2a605427
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/demux/ts.c
modules/demux/ts.c
+4
-2
No files found.
modules/demux/ts.c
View file @
ba1cc7ac
...
@@ -3358,8 +3358,8 @@ static void PMTSetupEsDvbSubtitle( demux_t *p_demux, ts_pid_t *pid,
...
@@ -3358,8 +3358,8 @@ static void PMTSetupEsDvbSubtitle( demux_t *p_demux, ts_pid_t *pid,
for
(
int
i
=
0
;
p_sub
&&
i
<
p_sub
->
i_subtitles_number
;
i
++
)
for
(
int
i
=
0
;
p_sub
&&
i
<
p_sub
->
i_subtitles_number
;
i
++
)
{
{
const
int
i_type
=
p_sub
->
p_subtitle
[
i
].
i_subtitling_type
;
const
int
i_type
=
p_sub
->
p_subtitle
[
i
].
i_subtitling_type
;
if
(
(
i_type
>=
0x10
&&
i_type
<=
0x1
3
)
||
if
(
(
i_type
>=
0x10
&&
i_type
<=
0x1
4
)
||
(
i_type
>=
0x20
&&
i_type
<=
0x2
3
)
)
(
i_type
>=
0x20
&&
i_type
<=
0x2
4
)
)
i_page
++
;
i_page
++
;
}
}
#endif
#endif
...
@@ -3425,12 +3425,14 @@ static void PMTSetupEsDvbSubtitle( demux_t *p_demux, ts_pid_t *pid,
...
@@ -3425,12 +3425,14 @@ static void PMTSetupEsDvbSubtitle( demux_t *p_demux, ts_pid_t *pid,
case
0x11
:
/* 4:3 */
case
0x11
:
/* 4:3 */
case
0x12
:
/* 16:9 */
case
0x12
:
/* 16:9 */
case
0x13
:
/* 2.21:1 */
case
0x13
:
/* 2.21:1 */
case
0x14
:
/* HD monitor */
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"DVB subtitles"
)
);
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"DVB subtitles"
)
);
break
;
break
;
case
0x20
:
/* Hearing impaired unspec. */
case
0x20
:
/* Hearing impaired unspec. */
case
0x21
:
/* h.i. 4:3 */
case
0x21
:
/* h.i. 4:3 */
case
0x22
:
/* h.i. 16:9 */
case
0x22
:
/* h.i. 16:9 */
case
0x23
:
/* h.i. 2.21:1 */
case
0x23
:
/* h.i. 2.21:1 */
case
0x24
:
/* h.i. HD monitor */
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"DVB subtitles: hearing impaired"
)
);
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"DVB subtitles: hearing impaired"
)
);
break
;
break
;
default:
default:
...
...
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