Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
1f27e2f4
Commit
1f27e2f4
authored
Jan 12, 2003
by
Jon Lech Johansen
Browse files
* ./modules/gui/macosx/intf.m: Fixed mutex errors on stop (Closes #80).
parent
762f0878
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/gui/macosx/intf.m
View file @
1f27e2f4
...
...
@@ -2,7 +2,7 @@
* intf.m: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: intf.m,v 1.2
1
2003/01/
09 23:43:07 massiot
Exp $
* $Id: intf.m,v 1.2
2
2003/01/
12 18:25:05 jlj
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -315,6 +315,25 @@ static void Run( intf_thread_t *p_intf )
{
vlc_object_release
(
p_intf
->
p_sys
->
p_input
);
p_intf
->
p_sys
->
p_input
=
NULL
;
if
(
p_intf
->
p_sys
->
b_stopping
)
{
vout_thread_t
*
p_vout
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_VOUT
,
FIND_ANYWHERE
);
if
(
p_vout
!=
NULL
)
{
vlc_object_detach
(
p_vout
);
vlc_object_release
(
p_vout
);
vout_Destroy
(
p_vout
);
}
p_intf
->
p_sys
->
b_stopping
=
0
;
}
[
self
displayTime
];
[
self
manageMode
];
}
if
(
p_intf
->
p_sys
->
p_input
!=
NULL
&&
!
p_intf
->
p_sys
->
p_input
->
b_die
)
...
...
@@ -382,20 +401,6 @@ static void Run( intf_thread_t *p_intf )
[
self
displayTime
];
[
self
manageMode
];
p_intf
->
p_sys
->
b_playing
=
0
;
if
(
p_intf
->
p_sys
->
b_stopping
)
{
vout_thread_t
*
p_vout
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_VOUT
,
FIND_ANYWHERE
);
if
(
p_vout
!=
NULL
)
{
vlc_object_detach
(
p_vout
);
vlc_object_release
(
p_vout
);
vout_Destroy
(
p_vout
);
}
p_intf
->
p_sys
->
b_stopping
=
0
;
}
}
/* update the log window */
...
...
Write
Preview
Supports
Markdown
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