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
4343ec78
Commit
4343ec78
authored
Jan 05, 2012
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed zvbi subpictures AR.
parent
705d11a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
modules/codec/zvbi.c
modules/codec/zvbi.c
+3
-6
No files found.
modules/codec/zvbi.c
View file @
4343ec78
...
@@ -462,18 +462,15 @@ static subpicture_t *Subpicture( decoder_t *p_dec, video_format_t *p_fmt,
...
@@ -462,18 +462,15 @@ static subpicture_t *Subpicture( decoder_t *p_dec, video_format_t *p_fmt,
}
}
memset
(
&
fmt
,
0
,
sizeof
(
video_format_t
)
);
memset
(
&
fmt
,
0
,
sizeof
(
video_format_t
)
);
fmt
.
i_chroma
=
b_text
?
VLC_CODEC_TEXT
:
fmt
.
i_chroma
=
b_text
?
VLC_CODEC_TEXT
:
VLC_CODEC_RGBA
;
VLC_CODEC_RGBA
;
fmt
.
i_sar_num
=
0
;
fmt
.
i_sar_den
=
1
;
if
(
b_text
)
if
(
b_text
)
{
{
fmt
.
i_bits_per_pixel
=
0
;
fmt
.
i_bits_per_pixel
=
0
;
fmt
.
i_sar_num
=
0
;
fmt
.
i_sar_den
=
0
;
}
}
else
else
{
{
fmt
.
i_sar_num
=
1
;
fmt
.
i_sar_den
=
1
;
fmt
.
i_width
=
fmt
.
i_visible_width
=
i_columns
*
12
;
fmt
.
i_width
=
fmt
.
i_visible_width
=
i_columns
*
12
;
fmt
.
i_height
=
fmt
.
i_visible_height
=
i_rows
*
10
;
fmt
.
i_height
=
fmt
.
i_visible_height
=
i_rows
*
10
;
fmt
.
i_bits_per_pixel
=
32
;
fmt
.
i_bits_per_pixel
=
32
;
...
...
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