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
3b471fb3
Commit
3b471fb3
authored
Oct 11, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed uninitialized variables (msw).
parent
2d46bfc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+10
-1
No files found.
modules/video_output/msw/events.c
View file @
3b471fb3
...
...
@@ -457,6 +457,8 @@ static int DirectXCreateWindow( event_thread_t *p_event )
p_event
->
parent_window
=
vout_window_New
(
VLC_OBJECT
(
p_vout
),
NULL
,
&
p_event
->
wnd_cfg
);
if
(
p_event
->
parent_window
)
p_event
->
hparent
=
p_event
->
parent_window
->
handle
.
hwnd
;
else
p_event
->
hparent
=
NULL
;
#ifdef MODULE_NAME_IS_direct3d
}
else
...
...
@@ -601,6 +603,10 @@ static int DirectXCreateWindow( event_thread_t *p_event )
CW_USEDEFAULT
,
CW_USEDEFAULT
,
NULL
,
NULL
,
hInstance
,
NULL
);
}
else
{
p_event
->
hfswnd
=
NULL
;
}
/* Append a "Always On Top" entry in the system menu */
hMenu
=
GetSystemMenu
(
p_event
->
hwnd
,
FALSE
);
...
...
@@ -1049,7 +1055,10 @@ int EventThreadStart( event_thread_t *p_event, event_hwnd_t *p_hwnd, const event
}
msg_Dbg
(
p_event
->
p_vout
,
"Vout EventThread running"
);
p_hwnd
->
parent_window
=
p_event
->
parent_window
;
if
(
!
p_event
->
use_desktop
)
p_hwnd
->
parent_window
=
p_event
->
parent_window
;
else
p_hwnd
->
parent_window
=
NULL
;
p_hwnd
->
hparent
=
p_event
->
hparent
;
p_hwnd
->
hwnd
=
p_event
->
hwnd
;
p_hwnd
->
hvideownd
=
p_event
->
hvideownd
;
...
...
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