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
3540bb57
Commit
3540bb57
authored
Sep 07, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved a lock creation to CreateEventThread.
It is more symetric with StopEventThread.
parent
4f197fd7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
4 deletions
+3
-4
modules/video_output/msw/direct3d.c
modules/video_output/msw/direct3d.c
+0
-1
modules/video_output/msw/directx.c
modules/video_output/msw/directx.c
+0
-1
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+3
-0
modules/video_output/msw/glwin32.c
modules/video_output/msw/glwin32.c
+0
-1
modules/video_output/msw/wingdi.c
modules/video_output/msw/wingdi.c
+0
-1
No files found.
modules/video_output/msw/direct3d.c
View file @
3540bb57
...
...
@@ -197,7 +197,6 @@ static int OpenVideo( vlc_object_t *p_this )
p_vout
->
p_sys
->
hparent
=
p_vout
->
p_sys
->
hfswnd
=
NULL
;
p_vout
->
p_sys
->
i_changes
=
0
;
p_vout
->
p_sys
->
b_desktop
=
false
;
vlc_mutex_init
(
&
p_vout
->
p_sys
->
lock
);
SetRectEmpty
(
&
p_vout
->
p_sys
->
rect_display
);
SetRectEmpty
(
&
p_vout
->
p_sys
->
rect_parent
);
...
...
modules/video_output/msw/directx.c
View file @
3540bb57
...
...
@@ -234,7 +234,6 @@ static int OpenVideo( vlc_object_t *p_this )
p_vout
->
p_sys
->
hparent
=
p_vout
->
p_sys
->
hfswnd
=
NULL
;
p_vout
->
p_sys
->
i_changes
=
0
;
p_vout
->
p_sys
->
b_wallpaper
=
0
;
vlc_mutex_init
(
&
p_vout
->
p_sys
->
lock
);
SetRectEmpty
(
&
p_vout
->
p_sys
->
rect_display
);
SetRectEmpty
(
&
p_vout
->
p_sys
->
rect_parent
);
...
...
modules/video_output/msw/events.c
View file @
3540bb57
...
...
@@ -1334,6 +1334,9 @@ void RestoreScreensaver( vout_thread_t *p_vout )
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
...
...
modules/video_output/msw/glwin32.c
View file @
3540bb57
...
...
@@ -106,7 +106,6 @@ static int OpenVideo( vlc_object_t *p_this )
p_vout
->
p_sys
->
hwnd
=
p_vout
->
p_sys
->
hvideownd
=
NULL
;
p_vout
->
p_sys
->
hparent
=
p_vout
->
p_sys
->
hfswnd
=
NULL
;
p_vout
->
p_sys
->
i_changes
=
0
;
vlc_mutex_init
(
&
p_vout
->
p_sys
->
lock
);
SetRectEmpty
(
&
p_vout
->
p_sys
->
rect_display
);
SetRectEmpty
(
&
p_vout
->
p_sys
->
rect_parent
);
...
...
modules/video_output/msw/wingdi.c
View file @
3540bb57
...
...
@@ -165,7 +165,6 @@ static int OpenVideo ( vlc_object_t *p_this )
p_vout
->
p_sys
->
hwnd
=
p_vout
->
p_sys
->
hvideownd
=
NULL
;
p_vout
->
p_sys
->
hparent
=
p_vout
->
p_sys
->
hfswnd
=
NULL
;
p_vout
->
p_sys
->
i_changes
=
0
;
vlc_mutex_init
(
&
p_vout
->
p_sys
->
lock
);
SetRectEmpty
(
&
p_vout
->
p_sys
->
rect_display
);
SetRectEmpty
(
&
p_vout
->
p_sys
->
rect_parent
);
...
...
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