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
136b09ae
Commit
136b09ae
authored
Oct 07, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn on XVideo color key automatic painting (fix #4643)
parent
4c9e1a93
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
modules/video_output/xcb/xvideo.c
modules/video_output/xcb/xvideo.c
+10
-1
No files found.
modules/video_output/xcb/xvideo.c
View file @
136b09ae
...
@@ -513,7 +513,7 @@ static int Open (vlc_object_t *obj)
...
@@ -513,7 +513,7 @@ static int Open (vlc_object_t *obj)
msg_Err
(
vd
,
"no available XVideo adaptor"
);
msg_Err
(
vd
,
"no available XVideo adaptor"
);
goto
error
;
goto
error
;
}
}
else
/* Compute video (window) placement within the parent window */
{
{
xcb_map_window
(
conn
,
p_sys
->
window
);
xcb_map_window
(
conn
,
p_sys
->
window
);
...
@@ -539,6 +539,15 @@ static int Open (vlc_object_t *obj)
...
@@ -539,6 +539,15 @@ static int Open (vlc_object_t *obj)
xcb_create_gc
(
conn
,
p_sys
->
gc
,
p_sys
->
window
,
0
,
NULL
);
xcb_create_gc
(
conn
,
p_sys
->
gc
,
p_sys
->
window
,
0
,
NULL
);
msg_Dbg
(
vd
,
"using X11 graphic context 0x%08"
PRIx32
,
p_sys
->
gc
);
msg_Dbg
(
vd
,
"using X11 graphic context 0x%08"
PRIx32
,
p_sys
->
gc
);
/* Disable color keying if applicable */
{
xcb_intern_atom_reply_t
*
r
=
xcb_intern_atom_reply
(
conn
,
xcb_intern_atom
(
conn
,
1
,
21
,
"XV_AUTOPAINT_COLORKEY"
),
NULL
);
if
(
r
!=
NULL
&&
r
->
atom
!=
0
)
xcb_xv_set_port_attribute
(
conn
,
p_sys
->
port
,
r
->
atom
,
1
);
}
/* Create cursor */
/* Create cursor */
p_sys
->
cursor
=
CreateBlankCursor
(
conn
,
screen
);
p_sys
->
cursor
=
CreateBlankCursor
(
conn
,
screen
);
...
...
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