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
53b1f060
Commit
53b1f060
authored
Oct 09, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
window: remove useless initializers
parent
9bf41d6a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
modules/gui/skins2/src/skin_main.cpp
modules/gui/skins2/src/skin_main.cpp
+2
-0
modules/video_output/xcb/window.c
modules/video_output/xcb/window.c
+1
-0
src/video_output/window.c
src/video_output/window.c
+0
-7
No files found.
modules/gui/skins2/src/skin_main.cpp
View file @
53b1f060
...
...
@@ -380,6 +380,8 @@ static int WindowOpen( vout_window_t *pWnd, const vout_window_cfg_t *cfg )
CmdExecuteBlock
::
executeWait
(
CmdGenericPtr
(
cmd
)
);
#ifdef X11_SKINS
pWnd
->
display
.
x11
=
NULL
;
if
(
!
pWnd
->
handle
.
xid
)
#else
if
(
!
pWnd
->
handle
.
hwnd
)
...
...
modules/video_output/xcb/window.c
View file @
53b1f060
...
...
@@ -566,6 +566,7 @@ static int EmOpen (vout_window_t *wnd, const vout_window_cfg_t *cfg)
p_sys
->
embedded
=
true
;
p_sys
->
keys
=
NULL
;
wnd
->
display
.
x11
=
NULL
;
wnd
->
handle
.
xid
=
window
;
wnd
->
control
=
Control
;
wnd
->
sys
=
p_sys
;
...
...
src/video_output/window.c
View file @
53b1f060
...
...
@@ -68,28 +68,21 @@ vout_window_t *vout_window_New(vlc_object_t *obj,
#if defined(_WIN32) || defined(__OS2__)
case
VOUT_WINDOW_TYPE_HWND
:
type
=
"vout window hwnd"
;
window
->
handle
.
hwnd
=
NULL
;
break
;
#endif
#ifdef __APPLE__
case
VOUT_WINDOW_TYPE_NSOBJECT
:
type
=
"vout window nsobject"
;
window
->
handle
.
nsobject
=
NULL
;
break
;
#endif
case
VOUT_WINDOW_TYPE_XID
:
type
=
"vout window xid"
;
window
->
handle
.
xid
=
0
;
window
->
display
.
x11
=
NULL
;
break
;
case
VOUT_WINDOW_TYPE_ANDROID_NATIVE
:
type
=
"vout window anative"
;
window
->
handle
.
anativewindow
=
NULL
;
break
;
case
VOUT_WINDOW_TYPE_WAYLAND
:
type
=
"vout surface wl"
;
window
->
handle
.
wl
=
NULL
;
window
->
display
.
wl
=
NULL
;
break
;
default:
assert
(
0
);
...
...
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