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
a11c642f
Commit
a11c642f
authored
May 07, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: run on first thread directly, like already done by Qt4
parent
72d46b6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+4
-2
modules/gui/minimal_macosx/intf.m
modules/gui/minimal_macosx/intf.m
+3
-2
No files found.
modules/gui/macosx/intf.m
View file @
a11c642f
...
...
@@ -43,6 +43,7 @@
#include <vlc_aout_intf.h>
#include <vlc_vout_window.h>
#include <unistd.h>
/* execl() */
#include "../../../lib/libvlc_internal.h"
#import "CompatibilityFixes.h"
#import "intf.h"
...
...
@@ -107,10 +108,11 @@ int OpenIntf ( vlc_object_t *p_this )
/* subscribe to LibVLCCore's messages */
vlc_Subscribe
(
&
p_intf
->
p_sys
->
sub
,
MsgCallback
,
NULL
);
p_intf
->
pf_run
=
Run
;
p_intf
->
b_should_run_on_first_thread
=
true
;
[
o_pool
release
];
libvlc_SetExitHandler
(
p_intf
->
p_libvlc
,
vlc_object_kill
,
p_intf
);
Run
(
p_intf
);
return
VLC_SUCCESS
;
}
...
...
modules/gui/minimal_macosx/intf.m
View file @
a11c642f
...
...
@@ -40,6 +40,7 @@
#include
<vlc
_input
.
h
>
#import
<vlc
_interface
.
h
>
#include "../../../lib/libvlc_internal.h"
#import
<intf
.
h
>
...
...
@@ -63,8 +64,8 @@ int OpenIntf ( vlc_object_t *p_this )
memset( p_intf->p_sys, 0, sizeof( *p_intf->p_sys ) );
p_intf->pf_run = Run
;
p_intf->b_should_run_on_first_thread = true
;
libvlc_SetExitHandler( p_intf->p_libvlc, vlc_object_kill, p_intf )
;
Run( p_intf )
;
return VLC_SUCCESS;
}
...
...
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