Commit 2eabe22e authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed 'Codec details pane does not work correctly', closes #2630

parent b900a611
...@@ -1565,6 +1565,17 @@ static void manage_cleanup( void * args ) ...@@ -1565,6 +1565,17 @@ static void manage_cleanup( void * args )
p_intf->p_sys->b_intf_update = true; p_intf->p_sys->b_intf_update = true;
p_intf->p_sys->b_input_update = false; p_intf->p_sys->b_input_update = false;
[self setupMenus]; /* Make sure input menu is up to date */ [self setupMenus]; /* Make sure input menu is up to date */
/* update our info-panel to reflect the new item, if we don't show
* the playlist or the selection is empty */
if( [self isPlaylistCollapsed] == YES )
{
playlist_t * p_playlist = pl_Hold( p_intf );
PL_LOCK;
[[self info] updatePanelWithItem: playlist_CurrentPlayingItem( p_playlist )->p_input];
PL_UNLOCK;
pl_Release( p_intf );
}
} }
if( p_intf->p_sys->b_intf_update ) if( p_intf->p_sys->b_intf_update )
{ {
...@@ -1594,15 +1605,6 @@ static void manage_cleanup( void * args ) ...@@ -1594,15 +1605,6 @@ static void manage_cleanup( void * args )
b_buffering = YES; b_buffering = YES;
} }
/* update our info-panel to reflect the new item, if we don't show
* the playlist or the selection is empty */
if( [self isPlaylistCollapsed] == YES )
{
PL_LOCK;
[[self info] updatePanelWithItem: playlist_CurrentPlayingItem( p_playlist )->p_input];
PL_UNLOCK;
}
/* seekable streams */ /* seekable streams */
b_seekable = var_GetBool( p_input, "can-seek" ); b_seekable = var_GetBool( p_input, "can-seek" );
...@@ -1696,6 +1698,7 @@ static void manage_cleanup( void * args ) ...@@ -1696,6 +1698,7 @@ static void manage_cleanup( void * args )
[[o_controls voutView] updateTitle]; [[o_controls voutView] updateTitle];
[o_playlist updateRowSelection]; [o_playlist updateRowSelection];
p_intf->p_sys->b_current_title_update = FALSE; p_intf->p_sys->b_current_title_update = FALSE;
} }
......
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