Commit 4e8c2bbf authored by Rémi Duraffort's avatar Rémi Duraffort

OSX: simplification.

parent a92d98f6
...@@ -252,9 +252,7 @@ static VLCInfo *_o_sharedInstance = nil; ...@@ -252,9 +252,7 @@ static VLCInfo *_o_sharedInstance = nil;
if( !input_item_IsPreparsed( p_item ) ) if( !input_item_IsPreparsed( p_item ) )
{ {
playlist_t * p_playlist = pl_Hold( VLCIntf ); playlist_t * p_playlist = pl_Hold( VLCIntf );
PL_LOCK; playlist_PreparseEnqueue( p_playlist, p_item, pl_Unlocked );
playlist_PreparseEnqueue( p_playlist, p_item, pl_Locked );
PL_UNLOCK;
pl_Release( VLCIntf ); pl_Release( VLCIntf );
} }
...@@ -368,7 +366,6 @@ static VLCInfo *_o_sharedInstance = nil; ...@@ -368,7 +366,6 @@ static VLCInfo *_o_sharedInstance = nil;
- (IBAction)saveMetaData:(id)sender - (IBAction)saveMetaData:(id)sender
{ {
playlist_t * p_playlist = pl_Hold( VLCIntf ); playlist_t * p_playlist = pl_Hold( VLCIntf );
vlc_value_t val;
if( !p_item ) goto error; if( !p_item ) goto error;
...@@ -414,8 +411,7 @@ static VLCInfo *_o_sharedInstance = nil; ...@@ -414,8 +411,7 @@ static VLCInfo *_o_sharedInstance = nil;
module_unneed( p_playlist, p_mod ); module_unneed( p_playlist, p_mod );
PL_UNLOCK; PL_UNLOCK;
val.b_bool = true; var_SetBool( p_playlist, "intf-change", true );
var_Set( p_playlist, "intf-change", val );
[self updatePanelWithItem: p_item]; [self updatePanelWithItem: p_item];
pl_Release( VLCIntf ); pl_Release( VLCIntf );
......
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