Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
18254c34
Commit
18254c34
authored
Aug 15, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use an empty palette to get the colors of the picture right.
parent
9e823114
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
modules/video_filter/osdmenu.c
modules/video_filter/osdmenu.c
+2
-11
No files found.
modules/video_filter/osdmenu.c
View file @
18254c34
...
@@ -338,18 +338,9 @@ static subpicture_region_t *create_picture_region( filter_t *p_filter, subpictur
...
@@ -338,18 +338,9 @@ static subpicture_region_t *create_picture_region( filter_t *p_filter, subpictur
p_filter
->
pf_sub_buffer_del
(
p_filter
,
p_spu
);
p_filter
->
pf_sub_buffer_del
(
p_filter
,
p_spu
);
return
NULL
;
return
NULL
;
}
}
if
(
fmt
.
i_chroma
==
VLC_FOURCC
(
'Y'
,
'U'
,
'V'
,
'P'
)
)
if
(
!
p_pic
&&
fmt
.
i_chroma
==
VLC_FOURCC
(
'Y'
,
'U'
,
'V'
,
'P'
)
)
{
{
int
i
;
p_region
->
fmt
.
p_palette
->
i_entries
=
0
;
p_region
->
fmt
.
p_palette
->
i_entries
=
4
;
for
(
i
=
0
;
i
<
4
;
i
++
)
{
p_region
->
fmt
.
p_palette
->
palette
[
i
][
0
]
=
0
;
p_region
->
fmt
.
p_palette
->
palette
[
i
][
1
]
=
0
;
p_region
->
fmt
.
p_palette
->
palette
[
i
][
2
]
=
0
;
p_region
->
fmt
.
p_palette
->
palette
[
i
][
3
]
=
0
;
}
fmt
.
i_width
=
fmt
.
i_visible_width
=
0
;
fmt
.
i_width
=
fmt
.
i_visible_width
=
0
;
fmt
.
i_height
=
fmt
.
i_visible_height
=
0
;
fmt
.
i_height
=
fmt
.
i_visible_height
=
0
;
}
}
...
...
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