From 55dc84d4ef1f397750689ddba54441866598f2ed Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Wed, 2 Sep 2015 08:01:34 +0200 Subject: [PATCH] Pass the file url to QTKit, I accidentaly removed it some days ago --- MP42/MP42QTImporter.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MP42/MP42QTImporter.m b/MP42/MP42QTImporter.m index a484eea..efa3cbe 100644 --- a/MP42/MP42QTImporter.m +++ b/MP42/MP42QTImporter.m @@ -47,8 +47,9 @@ if ((self = [super init])) { _fileURL = [fileURL retain]; - NSDictionary *attrs = @{@"QTMovieOpenAsyncRequiredAttribute": @NO, - @"QTMovieOpenAsyncOKAttribute": @NO}; + NSDictionary *attrs = @{QTMovieURLAttribute : _fileURL, + QTMovieOpenAsyncRequiredAttribute: @NO, + QTMovieOpenAsyncOKAttribute: @NO}; if (dispatch_get_current_queue() != dispatch_get_main_queue()) { dispatch_sync(dispatch_get_main_queue(), ^{