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
46db6c43
Commit
46db6c43
authored
Nov 05, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB/x11: fix rendering to 32-bits surface
parent
2d4752cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
modules/video_output/xcb/x11.c
modules/video_output/xcb/x11.c
+1
-6
No files found.
modules/video_output/xcb/x11.c
View file @
46db6c43
...
@@ -147,13 +147,8 @@ static int Open (vlc_object_t *obj)
...
@@ -147,13 +147,8 @@ static int Open (vlc_object_t *obj)
case
32
:
case
32
:
if
(
fmt
->
bits_per_pixel
!=
32
)
if
(
fmt
->
bits_per_pixel
!=
32
)
continue
;
continue
;
#ifdef FIXED_VLC_RGBA_MASK
fmt_pic
.
i_chroma
=
VLC_CODEC_ARGB
;
fmt_pic
.
i_chroma
=
VLC_CODEC_RGBA
;
break
;
break
;
#else
msg_Dbg
(
vd
,
"X11 visual with alpha-channel not supported"
);
continue
;
#endif
case
24
:
case
24
:
if
(
fmt
->
bits_per_pixel
==
32
)
if
(
fmt
->
bits_per_pixel
==
32
)
fmt_pic
.
i_chroma
=
VLC_CODEC_RGB32
;
fmt_pic
.
i_chroma
=
VLC_CODEC_RGB32
;
...
...
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