diff --git modules/gui/macosx/VLCPlaylistInfo.h modules/gui/macosx/VLCPlaylistInfo.h
index e7e1ffd4a5a6e9f9917c7afb526d4c795ede6935..048b08b4a0a0cff72116991c2d0b83b3ab85da84 100644
|
|
|
106 | 106 | */ |
107 | 107 | @interface VLCInfoTreeItem : NSObject |
108 | 108 | |
109 | | @property (readwrite) NSString *name; |
110 | | @property (readwrite) NSString *value; |
| 109 | @property (readwrite) NSString *propertyName; |
| 110 | @property (readwrite) NSString *propertyValue; |
111 | 111 | |
112 | 112 | @property (readwrite) NSArray *children; |
113 | 113 | |
diff --git modules/gui/macosx/VLCPlaylistInfo.m modules/gui/macosx/VLCPlaylistInfo.m
index 6d5c8c2906b9d0eb45cdad64a705bcdae0091fe0..eb4e481a666c70c48087ae707405a87529ec9b2b 100644
|
|
FREENULL( psz_##foo ); |
303 | 303 | info_category_t *cat = p_item->pp_categories[i]; |
304 | 304 | |
305 | 305 | VLCInfoTreeItem *subItem = [[VLCInfoTreeItem alloc] init]; |
306 | | subItem.name = toNSStr(cat->psz_name); |
| 306 | subItem.propertyName = toNSStr(cat->psz_name); |
307 | 307 | |
308 | 308 | // Build list of codec details |
309 | 309 | NSMutableArray *infos = [NSMutableArray array]; |
310 | 310 | |
311 | 311 | for (int j = 0; j < cat->i_infos; j++) { |
312 | 312 | VLCInfoTreeItem *infoItem = [[VLCInfoTreeItem alloc] init]; |
313 | | infoItem.name = toNSStr(cat->pp_infos[j]->psz_name); |
314 | | infoItem.value = toNSStr(cat->pp_infos[j]->psz_value); |
| 313 | infoItem.propertyName = toNSStr(cat->pp_infos[j]->psz_name); |
| 314 | infoItem.propertyValue = toNSStr(cat->pp_infos[j]->psz_value); |
315 | 315 | [infos addObject:infoItem]; |
316 | 316 | } |
317 | 317 | |
… |
… |
FREENULL( psz_##foo ); |
397 | 397 | return @""; |
398 | 398 | |
399 | 399 | if ([[tableColumn identifier] isEqualToString:@"0"]) |
400 | | return [item name]; |
| 400 | return [item propertyName]; |
401 | 401 | else |
402 | | return [item value]; |
| 402 | return [item propertyValue]; |
403 | 403 | } |
404 | 404 | |
405 | 405 | @end |