Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
0f7aa11e
Commit
0f7aa11e
authored
Feb 15, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minimal-macosx: compilation fix. Needs testing within the framework.
parent
76c4a062
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
modules/gui/minimal_macosx/intf.h
modules/gui/minimal_macosx/intf.h
+3
-0
modules/gui/minimal_macosx/intf.m
modules/gui/minimal_macosx/intf.m
+11
-4
No files found.
modules/gui/minimal_macosx/intf.h
View file @
0f7aa11e
...
...
@@ -47,5 +47,8 @@
struct
intf_sys_t
{
int
nothing_for_now
;
vlc_mutex_t
lock
;
vlc_cond_t
wait
;
};
modules/gui/minimal_macosx/intf.m
View file @
0f7aa11e
...
...
@@ -39,6 +39,7 @@
#include
<vlc
_keys
.
h
>
#include
<vlc
_input
.
h
>
#import
<vlc
_interface
.
h
>
#import
<intf
.
h
>
...
...
@@ -98,12 +99,18 @@ static void * KillerThread( void *user_data )
intf_thread_t *p_intf = user_data;
vlc_object_lock ( p_intf );
vlc_mutex_init(
&
p_intf->p_sys->lock );
vlc_cond_init(
&
p_intf->p_sys->wait );
vlc_mutex_lock (
&
p_intf->p_sys->lock );
while( vlc_object_alive( p_intf ) )
vlc_object_wait( p_intf );
vlc_object_unlock( p_intf );
vlc_cond_wait(
&
p_intf->p_sys->wait,
&
p_intf->p_sys->lock );
vlc_mutex_unlock(
&
p_intf->p_sys->lock );
vlc_mutex_destroy(
&
p_intf->p_sys->lock );
vlc_cond_destroy(
&
p_intf->p_sys->wait );
msg_Dbg( p_intf, "Killing the Mac OS X module" );
msg_Dbg( p_intf, "Killing the M
inimal M
ac OS X module" );
/* We are dead, terminate */
[NSApp terminate: nil];
...
...
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