diff --git a/Classes/SBDocument.m b/Classes/SBDocument.m index 0bdf261..779a27a 100755 --- a/Classes/SBDocument.m +++ b/Classes/SBDocument.m @@ -117,6 +117,7 @@ { if (self = [super initWithType:@"Video-MPEG4" error:outError]) { self.mp4 = mp4File; + self.fileURL = mp4File.URL; } return self; diff --git a/Classes/SBQueueController.m b/Classes/SBQueueController.m index a49a37d..72f30a6 100755 --- a/Classes/SBQueueController.m +++ b/Classes/SBQueueController.m @@ -212,7 +212,7 @@ static void *SBQueueContex = &SBQueueContex; } MP42File *mp4 = item.mp4File; - dispatch_sync(dispatch_get_main_queue(), ^{ + dispatch_async(dispatch_get_main_queue(), ^{ SBDocument *doc = [[SBDocument alloc] initWithMP4:mp4 error:&error]; if (doc) {