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
b9c3f900
Commit
b9c3f900
authored
Sep 08, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics (msw).
parent
8a27f191
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
modules/video_output/msw/common.c
modules/video_output/msw/common.c
+2
-0
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+0
-6
No files found.
modules/video_output/msw/common.c
View file @
b9c3f900
...
...
@@ -84,6 +84,7 @@ int CommonInit( vout_thread_t *p_vout )
p_sys
->
i_changes
=
0
;
SetRectEmpty
(
&
p_sys
->
rect_display
);
SetRectEmpty
(
&
p_sys
->
rect_parent
);
vlc_mutex_init
(
&
p_sys
->
lock
);
p_sys
->
b_cursor_hidden
=
0
;
p_sys
->
i_lastmoved
=
mdate
();
...
...
@@ -116,6 +117,7 @@ int CommonInit( vout_thread_t *p_vout )
void
CommonClean
(
vout_thread_t
*
p_vout
)
{
StopEventThread
(
p_vout
);
vlc_mutex_destroy
(
&
p_vout
->
p_sys
->
lock
);
#if !defined(UNDER_CE) && !defined(MODULE_NAME_IS_glwin32)
RestoreScreensaver
(
p_vout
);
...
...
modules/video_output/msw/events.c
View file @
b9c3f900
...
...
@@ -880,9 +880,6 @@ static int DirectXConvertKey( int i_key )
int
CreateEventThread
(
vout_thread_t
*
p_vout
)
{
if
(
!
(
p_vout
->
p_sys
->
i_changes
&
SWITCHING_MODE_FLAG
)
)
vlc_mutex_init
(
&
p_vout
->
p_sys
->
lock
);
/* Create the Vout EventThread, this thread is created by us to isolate
* the Win32 PeekMessage function calls. We want to do this because
* Windows can stay blocked inside this call for a long time, and when
...
...
@@ -947,8 +944,5 @@ void StopEventThread( vout_thread_t *p_vout )
vlc_thread_join
(
p_event
);
vlc_object_release
(
p_event
);
}
if
(
!
(
p_vout
->
p_sys
->
i_changes
&
SWITCHING_MODE_FLAG
)
)
vlc_mutex_destroy
(
&
p_vout
->
p_sys
->
lock
);
}
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