Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
8a93a226
Commit
8a93a226
authored
Apr 08, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve debug
parent
80b7a3f1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
modules/video_output/xcb/events.c
modules/video_output/xcb/events.c
+1
-1
modules/video_output/xcb/window.c
modules/video_output/xcb/window.c
+1
-0
modules/video_output/xcb/xcb.c
modules/video_output/xcb/xcb.c
+3
-2
No files found.
modules/video_output/xcb/events.c
View file @
8a93a226
...
...
@@ -110,7 +110,7 @@ int ProcessEvent (vout_thread_t *vout, xcb_generic_event_t *ev)
break
;
default:
msg_Dbg
(
vout
,
"unhandled event %
02x"
,
(
unsigned
)
ev
->
response_type
);
msg_Dbg
(
vout
,
"unhandled event %
"
PRIu8
,
ev
->
response_type
);
}
free
(
ev
);
...
...
modules/video_output/xcb/window.c
View file @
8a93a226
...
...
@@ -183,6 +183,7 @@ static void *Thread (void *data)
{
if
(
ProcessKeyEvent
(
p_sys
->
keys
,
ev
)
==
0
)
continue
;
msg_Dbg
(
wnd
,
"unhandled event: %"
PRIu8
,
ev
->
response_type
);
free
(
ev
);
}
vlc_restorecancel
(
canc
);
...
...
modules/video_output/xcb/xcb.c
View file @
8a93a226
...
...
@@ -417,12 +417,13 @@ static int Init (vout_thread_t *vout)
&
width
,
&
height
);
if
(
p_sys
->
embed
==
NULL
)
{
msg_Err
(
vout
,
"cannot get window"
);
msg_Err
(
vout
,
"cannot get
parent
window"
);
return
VLC_EGENERIC
;
}
p_sys
->
parent
=
p_sys
->
embed
->
handle
.
xid
;
}
/* FIXME: incorrect placement if resize now */
vout_PlacePicture
(
vout
,
width
,
height
,
&
x
,
&
y
,
&
width
,
&
height
);
/* FIXME: I don't get the subtlety between output and fmt_out here */
...
...
@@ -446,7 +447,7 @@ static int Init (vout_thread_t *vout)
/* Create window */
const
uint32_t
mask
=
XCB_CW_BACK_PIXEL
|
XCB_CW_EVENT_MASK
|
XCB_CW_COLORMAP
;
uint32_t
values
[]
=
{
const
uint32_t
values
[]
=
{
/* XCB_CW_BACK_PIXEL */
screen
->
black_pixel
,
/* XCB_CW_EVENT_MASK */
...
...
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