Commit c62a7ad8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert "macosx: run on first thread directly, like already done by Qt4"

This reverts commit a11c642f.
parent 235cac96
......@@ -43,7 +43,6 @@
#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"
......@@ -108,11 +107,10 @@ 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;
}
......
......@@ -40,7 +40,6 @@
#include <vlc_input.h>
#import <vlc_interface.h>
#include "../../../lib/libvlc_internal.h"
#import <intf.h>
......@@ -64,8 +63,8 @@ int OpenIntf ( vlc_object_t *p_this )
memset( p_intf->p_sys, 0, sizeof( *p_intf->p_sys ) );
libvlc_SetExitHandler( p_intf->p_libvlc, vlc_object_kill, p_intf );
Run( p_intf );
p_intf->pf_run = Run;
p_intf->b_should_run_on_first_thread = true;
return VLC_SUCCESS;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment