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
45a444a2
Commit
45a444a2
authored
May 23, 2008
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep a good rendering quality when rendering zvbi subs as text.
parent
cde8ee9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
modules/codec/zvbi.c
modules/codec/zvbi.c
+13
-7
No files found.
modules/codec/zvbi.c
View file @
45a444a2
...
...
@@ -326,9 +326,12 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
VLC_FOURCC
(
'R'
,
'G'
,
'B'
,
'A'
);
#endif
fmt
.
i_aspect
=
p_sys
->
b_text
?
0
:
VOUT_ASPECT_FACTOR
;
if
(
!
p_sys
->
b_text
)
{
fmt
.
i_sar_num
=
fmt
.
i_sar_den
=
1
;
fmt
.
i_width
=
fmt
.
i_visible_width
=
p_page
.
columns
*
12
;
fmt
.
i_height
=
fmt
.
i_visible_height
=
p_page
.
rows
*
10
;
}
fmt
.
i_bits_per_pixel
=
p_sys
->
b_text
?
0
:
32
;
fmt
.
i_x_offset
=
fmt
.
i_y_offset
=
0
;
...
...
@@ -351,10 +354,13 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
p_spu
->
b_ephemer
=
true
;
p_spu
->
b_absolute
=
false
;
p_spu
->
b_pausable
=
true
;
if
(
!
p_sys
->
b_text
)
{
p_spu
->
i_width
=
fmt
.
i_width
;
p_spu
->
i_height
=
fmt
.
i_height
;
p_spu
->
i_original_picture_width
=
p_page
.
columns
*
12
;
p_spu
->
i_original_picture_height
=
p_page
.
rows
*
10
;
}
#ifdef WORDS_BIGENDIAN
# define ZVBI_PIXFMT_RGBA32 VBI_PIXFMT_RGBA32_BE
...
...
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