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
281553a2
Commit
281553a2
authored
Jun 08, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xcb: remove unused parameter
parent
eb713edf
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
10 deletions
+4
-10
modules/video_output/xcb/events.c
modules/video_output/xcb/events.c
+0
-2
modules/video_output/xcb/glx.c
modules/video_output/xcb/glx.c
+1
-2
modules/video_output/xcb/x11.c
modules/video_output/xcb/x11.c
+1
-2
modules/video_output/xcb/xcb_vlc.h
modules/video_output/xcb/xcb_vlc.h
+1
-1
modules/video_output/xcb/xvideo.c
modules/video_output/xcb/xvideo.c
+1
-3
No files found.
modules/video_output/xcb/events.c
View file @
281553a2
...
@@ -128,7 +128,6 @@ static const xcb_screen_t *FindScreen (vlc_object_t *obj,
...
@@ -128,7 +128,6 @@ static const xcb_screen_t *FindScreen (vlc_object_t *obj,
vout_window_t
*
XCB_parent_Create
(
vout_display_t
*
vd
,
vout_window_t
*
XCB_parent_Create
(
vout_display_t
*
vd
,
xcb_connection_t
**
restrict
pconn
,
xcb_connection_t
**
restrict
pconn
,
const
xcb_screen_t
**
restrict
pscreen
,
const
xcb_screen_t
**
restrict
pscreen
,
uint8_t
*
restrict
pdepth
,
uint16_t
*
restrict
pwidth
,
uint16_t
*
restrict
pwidth
,
uint16_t
*
restrict
pheight
)
uint16_t
*
restrict
pheight
)
{
{
...
@@ -164,7 +163,6 @@ vout_window_t *XCB_parent_Create (vout_display_t *vd,
...
@@ -164,7 +163,6 @@ vout_window_t *XCB_parent_Create (vout_display_t *vd,
msg_Err
(
vd
,
"window not valid"
);
msg_Err
(
vd
,
"window not valid"
);
goto
error
;
goto
error
;
}
}
*
pdepth
=
geo
->
depth
;
*
pwidth
=
geo
->
width
;
*
pwidth
=
geo
->
width
;
*
pheight
=
geo
->
height
;
*
pheight
=
geo
->
height
;
...
...
modules/video_output/xcb/glx.c
View file @
281553a2
...
@@ -180,8 +180,7 @@ static int Open (vlc_object_t *obj)
...
@@ -180,8 +180,7 @@ static int Open (vlc_object_t *obj)
xcb_connection_t
*
conn
;
xcb_connection_t
*
conn
;
const
xcb_screen_t
*
scr
;
const
xcb_screen_t
*
scr
;
uint16_t
width
,
height
;
uint16_t
width
,
height
;
uint8_t
depth
;
sys
->
embed
=
XCB_parent_Create
(
vd
,
&
conn
,
&
scr
,
&
width
,
&
height
);
sys
->
embed
=
XCB_parent_Create
(
vd
,
&
conn
,
&
scr
,
&
depth
,
&
width
,
&
height
);
if
(
sys
->
embed
==
NULL
)
if
(
sys
->
embed
==
NULL
)
{
{
free
(
sys
);
free
(
sys
);
...
...
modules/video_output/xcb/x11.c
View file @
281553a2
...
@@ -116,8 +116,7 @@ static int Open (vlc_object_t *obj)
...
@@ -116,8 +116,7 @@ static int Open (vlc_object_t *obj)
xcb_connection_t
*
conn
;
xcb_connection_t
*
conn
;
const
xcb_screen_t
*
scr
;
const
xcb_screen_t
*
scr
;
uint16_t
width
,
height
;
uint16_t
width
,
height
;
sys
->
embed
=
XCB_parent_Create
(
vd
,
&
conn
,
&
scr
,
sys
->
embed
=
XCB_parent_Create
(
vd
,
&
conn
,
&
scr
,
&
width
,
&
height
);
&
(
uint8_t
){
0
},
&
width
,
&
height
);
if
(
sys
->
embed
==
NULL
)
if
(
sys
->
embed
==
NULL
)
{
{
free
(
sys
);
free
(
sys
);
...
...
modules/video_output/xcb/xcb_vlc.h
View file @
281553a2
...
@@ -45,7 +45,7 @@ int XCB_error_Check (vout_display_t *, xcb_connection_t *conn,
...
@@ -45,7 +45,7 @@ int XCB_error_Check (vout_display_t *, xcb_connection_t *conn,
struct
vout_window_t
*
XCB_parent_Create
(
vout_display_t
*
obj
,
struct
vout_window_t
*
XCB_parent_Create
(
vout_display_t
*
obj
,
xcb_connection_t
**
,
xcb_connection_t
**
,
const
xcb_screen_t
**
,
uint8_t
*
depth
,
const
xcb_screen_t
**
,
uint16_t
*
width
,
uint16_t
*
height
);
uint16_t
*
width
,
uint16_t
*
height
);
xcb_cursor_t
XCB_cursor_Create
(
xcb_connection_t
*
,
const
xcb_screen_t
*
);
xcb_cursor_t
XCB_cursor_Create
(
xcb_connection_t
*
,
const
xcb_screen_t
*
);
...
...
modules/video_output/xcb/xvideo.c
View file @
281553a2
...
@@ -387,9 +387,7 @@ static int Open (vlc_object_t *obj)
...
@@ -387,9 +387,7 @@ static int Open (vlc_object_t *obj)
xcb_connection_t
*
conn
;
xcb_connection_t
*
conn
;
const
xcb_screen_t
*
screen
;
const
xcb_screen_t
*
screen
;
uint16_t
width
,
height
;
uint16_t
width
,
height
;
uint8_t
depth
;
p_sys
->
embed
=
XCB_parent_Create
(
vd
,
&
conn
,
&
screen
,
&
width
,
&
height
);
p_sys
->
embed
=
XCB_parent_Create
(
vd
,
&
conn
,
&
screen
,
&
depth
,
&
width
,
&
height
);
if
(
p_sys
->
embed
==
NULL
)
if
(
p_sys
->
embed
==
NULL
)
{
{
free
(
p_sys
);
free
(
p_sys
);
...
...
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