Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
0ed8e60e
Commit
0ed8e60e
authored
Jan 15, 2009
by
Jean-Marc Dressler
Committed by
Rémi Denis-Courmont
Jan 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix several compilation bugs in msw vout
Signed-off-by:
Rémi Denis-Courmont
<
rdenis@simphalempin.com
>
parent
2eb8e7dc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
16 deletions
+16
-16
modules/video_output/msw/direct3d.c
modules/video_output/msw/direct3d.c
+4
-4
modules/video_output/msw/directx.c
modules/video_output/msw/directx.c
+4
-4
modules/video_output/msw/glwin32.c
modules/video_output/msw/glwin32.c
+4
-4
modules/video_output/msw/wingdi.c
modules/video_output/msw/wingdi.c
+4
-4
No files found.
modules/video_output/msw/direct3d.c
View file @
0ed8e60e
...
...
@@ -203,18 +203,18 @@ static int OpenVideo( vlc_object_t *p_this )
p_vout
->
p_sys
->
p_event
=
vlc_object_create
(
p_vout
,
sizeof
(
event_thread_t
)
);
p_vout
->
p_sys
->
p_event
->
p_vout
=
p_vout
;
p_vout
->
p_sys
->
p_event
->
ready
=
CreateEvent
(
NULL
,
TRUE
,
FALSE
,
NULL
);
p_vout
->
p_sys
->
p_event
->
window_
ready
=
CreateEvent
(
NULL
,
TRUE
,
FALSE
,
NULL
);
if
(
vlc_thread_create
(
p_vout
->
p_sys
->
p_event
,
"Vout Events Thread"
,
EventThread
,
0
,
false
)
)
{
msg_Err
(
p_vout
,
"cannot create Vout EventThread"
);
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
ready
);
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
window_
ready
);
vlc_object_release
(
p_vout
->
p_sys
->
p_event
);
p_vout
->
p_sys
->
p_event
=
NULL
;
goto
error
;
}
WaitForSingleObject
(
p_vout
->
p_sys
->
p_event
->
ready
,
INFINITE
)
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
ready
);
WaitForSingleObject
(
p_vout
->
p_sys
->
p_event
->
window_ready
,
INFINITE
);
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
window_
ready
);
if
(
p_vout
->
p_sys
->
p_event
->
b_error
)
{
...
...
modules/video_output/msw/directx.c
View file @
0ed8e60e
...
...
@@ -277,18 +277,18 @@ static int OpenVideo( vlc_object_t *p_this )
p_vout
->
p_sys
->
p_event
=
vlc_object_create
(
p_vout
,
sizeof
(
event_thread_t
)
);
p_vout
->
p_sys
->
p_event
->
p_vout
=
p_vout
;
p_vout
->
p_sys
->
p_event
->
ready
=
CreateEvent
(
NULL
,
TRUE
,
FALSE
,
NULL
);
p_vout
->
p_sys
->
p_event
->
window_
ready
=
CreateEvent
(
NULL
,
TRUE
,
FALSE
,
NULL
);
if
(
vlc_thread_create
(
p_vout
->
p_sys
->
p_event
,
"Vout Events Thread"
,
EventThread
,
0
,
false
)
)
{
msg_Err
(
p_vout
,
"cannot create Vout EventThread"
);
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
ready
);
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
window_
ready
);
vlc_object_release
(
p_vout
->
p_sys
->
p_event
);
p_vout
->
p_sys
->
p_event
=
NULL
;
goto
error
;
}
WaitForSingleObject
(
p_vout
->
p_sys
->
p_event
->
ready
,
INFINITE
)
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
ready
);
WaitForSingleObject
(
p_vout
->
p_sys
->
p_event
->
window_ready
,
INFINITE
);
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
window_
ready
);
if
(
p_vout
->
p_sys
->
p_event
->
b_error
)
{
...
...
modules/video_output/msw/glwin32.c
View file @
0ed8e60e
...
...
@@ -134,18 +134,18 @@ static int OpenVideo( vlc_object_t *p_this )
p_vout
->
p_sys
->
p_event
=
vlc_object_create
(
p_vout
,
sizeof
(
event_thread_t
)
);
p_vout
->
p_sys
->
p_event
->
p_vout
=
p_vout
;
p_vout
->
p_sys
->
p_event
->
ready
=
CreateEvent
(
NULL
,
TRUE
,
FALSE
,
NULL
);
p_vout
->
p_sys
->
p_event
->
window_
ready
=
CreateEvent
(
NULL
,
TRUE
,
FALSE
,
NULL
);
if
(
vlc_thread_create
(
p_vout
->
p_sys
->
p_event
,
"Vout Events Thread"
,
EventThread
,
0
,
false
)
)
{
msg_Err
(
p_vout
,
"cannot create Vout EventThread"
);
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
ready
);
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
window_
ready
);
vlc_object_release
(
p_vout
->
p_sys
->
p_event
);
p_vout
->
p_sys
->
p_event
=
NULL
;
goto
error
;
}
WaitForSingleObject
(
p_vout
->
p_sys
->
p_event
->
ready
,
INFINITE
)
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
ready
);
WaitForSingleObject
(
p_vout
->
p_sys
->
p_event
->
window_ready
,
INFINITE
);
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
window_
ready
);
if
(
p_vout
->
p_sys
->
p_event
->
b_error
)
{
...
...
modules/video_output/msw/wingdi.c
View file @
0ed8e60e
...
...
@@ -242,18 +242,18 @@ static int OpenVideo ( vlc_object_t *p_this )
p_vout
->
p_sys
->
p_event
=
vlc_object_create
(
p_vout
,
sizeof
(
event_thread_t
)
);
p_vout
->
p_sys
->
p_event
->
p_vout
=
p_vout
;
p_vout
->
p_sys
->
p_event
->
ready
=
CreateEvent
(
NULL
,
TRUE
,
FALSE
,
NULL
);
p_vout
->
p_sys
->
p_event
->
window_
ready
=
CreateEvent
(
NULL
,
TRUE
,
FALSE
,
NULL
);
if
(
vlc_thread_create
(
p_vout
->
p_sys
->
p_event
,
"Vout Events Thread"
,
EventThread
,
0
,
false
)
)
{
msg_Err
(
p_vout
,
"cannot create Vout EventThread"
);
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
ready
);
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
window_
ready
);
vlc_object_release
(
p_vout
->
p_sys
->
p_event
);
p_vout
->
p_sys
->
p_event
=
NULL
;
goto
error
;
}
WaitForSingleObject
(
p_vout
->
p_sys
->
p_event
->
ready
,
INFINITE
)
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
ready
);
WaitForSingleObject
(
p_vout
->
p_sys
->
p_event
->
window_ready
,
INFINITE
);
CloseHandle
(
p_vout
->
p_sys
->
p_event
->
window_
ready
);
if
(
p_vout
->
p_sys
->
p_event
->
b_error
)
{
...
...
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