Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
46048d0d
Commit
46048d0d
authored
Jun 04, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a missing vlc_join() in vout.
parent
89dbfd78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/video_output/display.c
src/video_output/display.c
+3
-3
No files found.
src/video_output/display.c
View file @
46048d0d
...
...
@@ -546,8 +546,7 @@ static void VoutDisplayEventMouse(vout_display_t *vd, int event, va_list args)
static
void
*
VoutDisplayEventKeyDispatch
(
void
*
data
)
{
vout_display_t
*
vd
=
data
;
vout_display_owner_sys_t
*
osys
=
vd
->
owner
.
sys
;
vout_display_owner_sys_t
*
osys
=
data
;
for
(;;)
{
block_t
*
event
=
block_FifoGet
(
osys
->
event
.
fifo
);
...
...
@@ -572,7 +571,7 @@ static void VoutDisplayEventKey(vout_display_t *vd, int key)
if
(
!
osys
->
event
.
fifo
)
return
;
if
(
vlc_clone
(
&
osys
->
event
.
thread
,
VoutDisplayEventKeyDispatch
,
vd
,
VLC_THREAD_PRIORITY_LOW
))
{
osys
,
VLC_THREAD_PRIORITY_LOW
))
{
block_FifoRelease
(
osys
->
event
.
fifo
);
osys
->
event
.
fifo
=
NULL
;
return
;
...
...
@@ -1281,6 +1280,7 @@ void vout_DeleteDisplay(vout_display_t *vd, vout_display_state_t *state)
vout_display_Delete
(
vd
);
if
(
osys
->
event
.
fifo
)
{
vlc_cancel
(
osys
->
event
.
thread
);
vlc_join
(
osys
->
event
.
thread
,
NULL
);
block_FifoRelease
(
osys
->
event
.
fifo
);
}
vlc_mutex_destroy
(
&
osys
->
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