Set the document URL when opening a mp4 from the queue.

This commit is contained in:
Damiano Galassi committed 2016-07-27 13:21:03 +02:00
1 parent f10421039f
commit 44d1536fe4
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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) {