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
067d7008
Commit
067d7008
authored
Sep 26, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB-XVideo: print adaptor name in the debug
parent
97dabaa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
modules/video_output/xcb/xvideo.c
modules/video_output/xcb/xvideo.c
+9
-2
No files found.
modules/video_output/xcb/xvideo.c
View file @
067d7008
...
...
@@ -339,6 +339,7 @@ static int Open (vlc_object_t *obj)
xcb_xv_adaptor_info_next
(
&
it
))
{
const
xcb_xv_adaptor_info_t
*
a
=
it
.
data
;
char
*
name
;
if
(
forced_adaptor
!=
-
1
&&
forced_adaptor
!=
0
)
{
...
...
@@ -407,6 +408,12 @@ static int Open (vlc_object_t *obj)
continue
;
grabbed_port:
name
=
strndup
(
xcb_xv_adaptor_info_name
(
a
),
a
->
name_size
);
if
(
name
!=
NULL
)
{
msg_Dbg
(
vd
,
"using adaptor %s"
,
name
);
free
(
name
);
}
msg_Dbg
(
vd
,
"using port %"
PRIu32
,
p_sys
->
port
);
p_sys
->
id
=
xfmt
->
id
;
...
...
@@ -445,7 +452,7 @@ static int Open (vlc_object_t *obj)
if
(
CheckError
(
vd
,
conn
,
"cannot create X11 window"
,
c
))
goto
error
;
p_sys
->
window
=
window
;
msg_Dbg
(
vd
,
"using X11 window %08"
PRIx32
,
window
);
msg_Dbg
(
vd
,
"using X11 window
0x
%08"
PRIx32
,
window
);
xcb_map_window
(
conn
,
window
);
vout_display_place_t
place
;
...
...
@@ -465,7 +472,7 @@ static int Open (vlc_object_t *obj)
/* Create graphic context */
p_sys
->
gc
=
xcb_generate_id
(
conn
);
xcb_create_gc
(
conn
,
p_sys
->
gc
,
p_sys
->
window
,
0
,
NULL
);
msg_Dbg
(
vd
,
"using X11 graphic context %08"
PRIx32
,
p_sys
->
gc
);
msg_Dbg
(
vd
,
"using X11 graphic context
0x
%08"
PRIx32
,
p_sys
->
gc
);
/* */
p_sys
->
pool
=
NULL
;
...
...
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