Commit 2cb90ae7 authored by Vibhoothi's avatar Vibhoothi

macosx: Debug the playlist more verbosely

parent fd7cd1a3
......@@ -588,10 +588,12 @@
BOOL b_autoplay = var_InheritBool(getIntf(), "macosx-autoplay");
[self addPlaylistItems:array withParentItemId:i_plItemId atPos:-1 startPlayback:b_autoplay];
NSLog(@"addPlaylistItems %@",[array class]);
}
- (void)addPlaylistItems:(NSArray*)array tryAsSubtitle:(BOOL)isSubtitle
{
input_thread_t *p_input = pl_CurrentInput(getIntf());
if (isSubtitle && array.count == 1 && p_input) {
int i_result = input_AddSlave(p_input, SLAVE_TYPE_SPU,
......@@ -607,8 +609,11 @@
vlc_object_release(p_input);
[self addPlaylistItems:array];
}
- (void)addPlaylistItems:(NSArray*)array withParentItemId:(int)i_plItemId atPos:(int)i_position startPlayback:(BOOL)b_start
{
playlist_t * p_playlist = pl_Get(getIntf());
......
......@@ -396,9 +396,10 @@ FREENULL( psz_##foo );
return @"";
if ([[tableColumn identifier] isEqualToString:@"0"])
return [item name];
return [(VLCInfoTreeItem *)item name];
else
return [item value];
return [(VLCInfoTreeItem *) item value];
}
@end
......
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