Commit 5c1b65cc authored by Felix Paul Kühne's avatar Felix Paul Kühne

* removed duplicated, buggy code without changing the user's GUI experience (fixes #744)

parent dfa59eff
......@@ -1139,7 +1139,6 @@ static VLCMain *_o_sharedMainInstance = nil;
if( p_intf->p_sys->b_current_title_update )
{
NSString *o_temp;
vout_thread_t *p_vout;
playlist_t * p_playlist = vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST,
FIND_ANYWHERE );
......@@ -1155,25 +1154,8 @@ static VLCMain *_o_sharedMainInstance = nil;
[self setScrollField: o_temp stopAfter:-1];
[[[self getControls] getFSPanel] setStreamTitle: o_temp];
p_vout = vlc_object_find( p_intf->p_sys->p_input, VLC_OBJECT_VOUT,
FIND_PARENT );
if( p_vout != NULL )
{
id o_vout_wnd;
NSEnumerator * o_enum = [[NSApp orderedWindows] objectEnumerator];
while( ( o_vout_wnd = [o_enum nextObject] ) )
{
if( [[o_vout_wnd className] isEqualToString: @"VLCWindow"]
|| [[[VLCMain sharedInstance] getEmbeddedList]
windowContainsEmbedded: o_vout_wnd] )
{
msg_Dbg( p_intf, "updateTitle call getVoutView" );
[[o_vout_wnd getVoutView] updateTitle];
}
}
vlc_object_release( (vlc_object_t *)p_vout );
}
[[o_controls getVoutView] updateTitle];
[o_playlist updateRowSelection];
vlc_object_release( p_playlist );
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