X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Fwizard.m;h=95d6795824bdb9d52de32904746515adeda2a618;hb=dce84f16eff36ca70cbb431f0654569eb02ca458;hp=e2344aeddc810db7215f2aab1e3b053589846c63;hpb=36edd71568f3b577bbb8ef59d5e2749388ac9009;p=vlc diff --git a/modules/gui/macosx/wizard.m b/modules/gui/macosx/wizard.m index e2344aeddc..95d6795824 100644 --- a/modules/gui/macosx/wizard.m +++ b/modules/gui/macosx/wizard.m @@ -1,10 +1,10 @@ /***************************************************************************** * wizard.m: MacOS X Streaming Wizard ***************************************************************************** - * Copyright (C) 2005-2008 the VideoLAN team + * Copyright (C) 2005-2009 the VideoLAN team * $Id$ * - * Authors: Felix Kühne + * Authors: Felix Kühne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -477,7 +477,7 @@ static VLCWizard *_o_sharedInstance = nil; [o_wizard_window close]; } -- (id)getPlaylistWizard +- (id)playlistWizard { return o_playlist_wizard; } @@ -627,7 +627,6 @@ static VLCWizard *_o_sharedInstance = nil; [o_userSelections setObject:@"1" forKey:@"stmgMhd"]; /* disable all codecs which don't support ASF / ASFH */ - [o_t4_pop_audioCodec removeItemWithTitle:@"MPEG 4 Audio"]; [o_t4_pop_audioCodec removeItemWithTitle:@"Vorbis"]; [o_t4_pop_audioCodec removeItemWithTitle:@"FLAC"]; [o_t4_pop_audioCodec removeItemWithTitle:@"Speex"]; @@ -1263,7 +1262,7 @@ static VLCWizard *_o_sharedInstance = nil; { intf_thread_t * p_intf = VLCIntf; - playlist_t * p_playlist = pl_Hold( p_intf ); + playlist_t * p_playlist = pl_Get( p_intf ); int x = 0; int y = [[o_userSelections objectForKey:@"pathToStrm"] count]; @@ -1312,7 +1311,7 @@ static VLCWizard *_o_sharedInstance = nil; { /* play the first item and add the others afterwards */ PL_LOCK; - playlist_item_t *p_item = playlist_ItemGetByInput( p_playlist, p_input, pl_Locked ); + playlist_item_t *p_item = playlist_ItemGetByInput( p_playlist, p_input ); playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, pl_Locked, NULL, p_item ); PL_UNLOCK; @@ -1322,8 +1321,6 @@ static VLCWizard *_o_sharedInstance = nil; x += 1; } - vlc_object_release( p_playlist ); - /* close the window, since we are done */ [o_wizard_window close]; } @@ -1665,7 +1662,7 @@ static VLCWizard *_o_sharedInstance = nil; @"Input"]) { /* reset the wizard before going backwards. Otherwise, we might get - * unwanted behaviours in the Encap-Selection */ + * unwanted behaviour in the Encap-Selection */ [self resetWizard]; /* show "Hello" */ [o_tab_pageHolder selectTabViewItemAtIndex:0];