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