Pass the file url to QTKit, I accidentaly removed it some days ago
This commit is contained in:
1 parent
ef92468f35
commit
55dc84d4ef
1 file changed
+3
-2
@@ -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(), ^{
|
||||
|
||||
Reference in new issue
Block a user