Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
a4112126
Commit
a4112126
authored
Sep 06, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ts demux: any teletext type of 1-5 is valid.
See page 66 of ETSI EN 300 468
parent
344612b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
7 deletions
+26
-7
modules/demux/ts.c
modules/demux/ts.c
+26
-7
No files found.
modules/demux/ts.c
View file @
a4112126
...
...
@@ -3403,9 +3403,8 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
for
(
n
=
0
;
n
<
sub
->
i_pages_number
;
n
++
)
{
dvbpsi_teletextpage_t
*
p_page
=
&
sub
->
p_pages
[
n
];
if
(
p_page
->
i_teletext_type
==
0x1
||
p_page
->
i_teletext_type
==
0x2
||
p_page
->
i_teletext_type
==
0x5
)
if
(
p_page
->
i_teletext_type
>
0x0
&&
p_page
->
i_teletext_type
<
0x6
)
{
ts_es_t
*
p_es
;
...
...
@@ -3445,9 +3444,9 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
{
case
0x1
:
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"Teletext
initial page
"
));
strdup
(
_
(
"Teletext"
));
msg_Dbg
(
p_demux
,
" *
sub lan=%s page=%d%
x"
,
" *
ttxt lan=%s page=%d%02
x"
,
p_es
->
fmt
.
psz_language
,
p_page
->
i_teletext_magazine_number
,
p_page
->
i_teletext_page_number
);
...
...
@@ -3457,7 +3456,27 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"Teletext subtitles"
));
msg_Dbg
(
p_demux
,
" * sub lan=%s page=%d%x"
,
" * sub lan=%s page=%d%02x"
,
p_es
->
fmt
.
psz_language
,
p_page
->
i_teletext_magazine_number
,
p_page
->
i_teletext_page_number
);
break
;
case
0x3
:
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"Teletext additional information"
));
msg_Dbg
(
p_demux
,
" * info lan=%s page=%d%02x"
,
p_es
->
fmt
.
psz_language
,
p_page
->
i_teletext_magazine_number
,
p_page
->
i_teletext_page_number
);
break
;
case
0x4
:
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"Teletext programme schedule"
));
msg_Dbg
(
p_demux
,
" * sched lan=%s page=%d%02x"
,
p_es
->
fmt
.
psz_language
,
p_page
->
i_teletext_magazine_number
,
p_page
->
i_teletext_page_number
);
...
...
@@ -3467,7 +3486,7 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"Teletext hearing impaired subtitles"
));
msg_Dbg
(
p_demux
,
" * hearing impaired lan=%s page=%d%x"
,
" * hearing impaired lan=%s page=%d%
02
x"
,
p_es
->
fmt
.
psz_language
,
p_page
->
i_teletext_magazine_number
,
p_page
->
i_teletext_page_number
);
...
...
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