~videolan/vlc/old-trunk

« back to all changes in this revision

Viewing changes to modules/gui/macosx/wizard.m

  • Committer: zorglub
  • Date: 2006-09-24 12:40:10 UTC
  • Revision ID: vcs-imports@canonical.com-20060924124010-9313cccc4d61dbc9
Rename vlc_input_item_* functions to input_Item* for consistency
Add input_ItemAddOptionNoDup (unused at the moment)
+ free warning fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * wizard.m: MacOS X Streaming Wizard
3
3
 *****************************************************************************
4
4
 * Copyright (C) 2005-2006 the VideoLAN team
5
 
 * $Id: wizard.m 16696 2006-09-17 18:41:21Z fkuehne $
 
5
 * $Id: wizard.m 16821 2006-09-24 12:40:10Z zorglub $
6
6
 *
7
7
 * Authors: Felix Kühne <fkuehne@users.sf.net>
8
8
 *
1291
1291
                [[[o_userSelections objectForKey:@"pathToStrm"] \
1292
1292
                objectAtIndex:x] UTF8String], \
1293
1293
                [tempString UTF8String] );
1294
 
            vlc_input_item_AddOption( p_input, [[[o_userSelections \
 
1294
            input_ItemAddOption( p_input, [[[o_userSelections \
1295
1295
                objectForKey:@"opts"] objectAtIndex: x] UTF8String]);
1296
1296
 
1297
1297
            if(! [[o_userSelections objectForKey:@"partExtractFrom"] \
1298
1298
                isEqualToString:@""] )
1299
1299
            {
1300
 
                vlc_input_item_AddOption( p_input, [[NSString \
 
1300
                input_ItemAddOption( p_input, [[NSString \
1301
1301
                    stringWithFormat: @"start-time=%@", [o_userSelections \
1302
1302
                    objectForKey: @"partExtractFrom"]] UTF8String] );
1303
1303
            }
1305
1305
            if(! [[o_userSelections objectForKey:@"partExtractTo"] \
1306
1306
                isEqualToString:@""] )
1307
1307
            {
1308
 
                vlc_input_item_AddOption( p_input, [[NSString \
 
1308
                input_ItemAddOption( p_input, [[NSString \
1309
1309
                    stringWithFormat: @"stop-time=%@", [o_userSelections \
1310
1310
                    objectForKey: @"partExtractTo"]] UTF8String] );
1311
1311
            }
1312
1312
 
1313
 
            vlc_input_item_AddOption( p_input, [[NSString stringWithFormat: \
 
1313
            input_ItemAddOption( p_input, [[NSString stringWithFormat: \
1314
1314
                @"ttl=%@", [o_userSelections objectForKey:@"ttl"]] \
1315
1315
                UTF8String] );
1316
1316