Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
664fb723
Commit
664fb723
authored
Sep 06, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not ignore teletext initial page (close #1997).
Be carefull, it adds a new translated strings.
parent
ef2b8563
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
modules/demux/ts.c
modules/demux/ts.c
+13
-2
No files found.
modules/demux/ts.c
View file @
664fb723
...
...
@@ -3403,8 +3403,9 @@ 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
==
0x2
)
||
(
p_page
->
i_teletext_type
==
0x5
)
)
if
(
p_page
->
i_teletext_type
==
0x1
||
p_page
->
i_teletext_type
==
0x2
||
p_page
->
i_teletext_type
==
0x5
)
{
ts_es_t
*
p_es
;
...
...
@@ -3442,6 +3443,16 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
}
switch
(
p_page
->
i_teletext_type
)
{
case
0x1
:
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"Teletext initial page"
));
msg_Dbg
(
p_demux
,
" * sub lan=%s page=%d%x"
,
p_es
->
fmt
.
psz_language
,
p_page
->
i_teletext_magazine_number
,
p_page
->
i_teletext_page_number
);
break
;
case
0x2
:
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"Teletext subtitles"
));
...
...
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