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
97dabaa3
Commit
97dabaa3
authored
Sep 26, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB: print server version infos in the debug
parent
971ddef7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
modules/video_output/xcb/common.c
modules/video_output/xcb/common.c
+11
-0
No files found.
modules/video_output/xcb/common.c
View file @
97dabaa3
...
...
@@ -71,6 +71,17 @@ xcb_connection_t *Connect (vlc_object_t *obj)
xcb_disconnect
(
conn
);
return
NULL
;
}
const
xcb_setup_t
*
setup
=
xcb_get_setup
(
conn
);
msg_Dbg
(
obj
,
"connected to X%"
PRIu16
".%"
PRIu16
" server"
,
setup
->
protocol_major_version
,
setup
->
protocol_minor_version
);
char
*
vendor
=
strndup
(
xcb_setup_vendor
(
setup
),
setup
->
vendor_len
);
if
(
vendor
)
{
msg_Dbg
(
obj
,
" vendor : %s"
,
vendor
);
free
(
vendor
);
}
msg_Dbg
(
obj
,
" version: %"
PRIu32
,
setup
->
release_number
);
return
conn
;
}
...
...
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