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
b48252ea
Commit
b48252ea
authored
Feb 05, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zvbi: Fix displaying of teletext and closed captioning.
parent
9e4c6586
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/codec/zvbi.c
modules/codec/zvbi.c
+4
-3
No files found.
modules/codec/zvbi.c
View file @
b48252ea
...
...
@@ -322,6 +322,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
vbi_page
p_page
;
const
uint8_t
*
p_pos
;
unsigned
int
i_left
;
int64_t
i_pts
=
0
;
if
(
(
pp_block
==
NULL
)
||
(
*
pp_block
==
NULL
)
)
return
NULL
;
...
...
@@ -336,7 +337,6 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
{
vbi_sliced
p_sliced
[
MAX_SLICES
];
unsigned
int
i_lines
=
0
;
int64_t
i_pts
;
i_lines
=
vbi_dvb_demux_cor
(
p_sys
->
p_dvb_demux
,
p_sliced
,
MAX_SLICES
,
&
i_pts
,
&
p_pos
,
&
i_left
);
...
...
@@ -363,6 +363,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
if
(
i_wanted_page
==
p_sys
->
i_last_page
&&
!
p_sys
->
b_update
)
goto
error
;
i_pts
=
i_pts
?
i_pts
:
p_block
->
i_pts
;
if
(
!
b_cached
)
{
if
(
p_sys
->
i_last_page
!=
i_wanted_page
)
...
...
@@ -370,7 +371,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
/* We need to reset the subtitle */
p_spu
=
Subpicture
(
p_dec
,
&
fmt
,
true
,
p_page
.
columns
,
p_page
.
rows
,
i_align
,
p_block
->
i_pts
);
i_align
,
i_pts
);
if
(
!
p_spu
)
goto
error
;
p_spu
->
p_region
->
psz_text
=
strdup
(
""
);
...
...
@@ -392,7 +393,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
/* Create the subpicture unit */
p_spu
=
Subpicture
(
p_dec
,
&
fmt
,
p_sys
->
b_text
,
p_page
.
columns
,
p_page
.
rows
,
i_align
,
p_block
->
i_pts
);
i_align
,
i_pts
);
if
(
!
p_spu
)
goto
error
;
...
...
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