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])) {
|
if ((self = [super init])) {
|
||||||
_fileURL = [fileURL retain];
|
_fileURL = [fileURL retain];
|
||||||
|
|
||||||
NSDictionary *attrs = @{@"QTMovieOpenAsyncRequiredAttribute": @NO,
|
NSDictionary *attrs = @{QTMovieURLAttribute : _fileURL,
|
||||||
@"QTMovieOpenAsyncOKAttribute": @NO};
|
QTMovieOpenAsyncRequiredAttribute: @NO,
|
||||||
|
QTMovieOpenAsyncOKAttribute: @NO};
|
||||||
|
|
||||||
if (dispatch_get_current_queue() != dispatch_get_main_queue()) {
|
if (dispatch_get_current_queue() != dispatch_get_main_queue()) {
|
||||||
dispatch_sync(dispatch_get_main_queue(), ^{
|
dispatch_sync(dispatch_get_main_queue(), ^{
|
||||||
|
|||||||
Reference in new issue
Block a user