summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa/events_view.m
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/cocoa/events_view.m')
-rw-r--r--video/out/cocoa/events_view.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/cocoa/events_view.m b/video/out/cocoa/events_view.m
index d377597006..3bf7bd44f4 100644
--- a/video/out/cocoa/events_view.m
+++ b/video/out/cocoa/events_view.m
@@ -318,7 +318,7 @@
options:@{}];
NSMutableArray* ar = [[[NSMutableArray alloc] init] autorelease];
for (NSURL* url in pbitems) {
- if (url.fileURL) {
+ if ([url isFileURL]) {
[ar addObject:[url path]];
} else {
[ar addObject:[url absoluteString]];