Add a queue action to set the color space.
This commit is contained in:
1 parent
ff5e97e4b3
commit
5968378131
7 files changed
+217
-30
No files matched your search
@@ -360,9 +360,11 @@ bail:
|
||||
// Convert from a file reference url to a normal url
|
||||
// the file will be replaced if optimized, and the reference url
|
||||
// may point to nil
|
||||
[self willChangeValueForKey:@"fileURL"];
|
||||
_fileURL = filePathURL;
|
||||
[self didChangeValueForKey:@"fileURL"];
|
||||
dispatch_sync(dispatch_get_main_queue(), ^{
|
||||
[self willChangeValueForKey:@"fileURL"];
|
||||
self->_fileURL = filePathURL;
|
||||
[self didChangeValueForKey:@"fileURL"];
|
||||
});
|
||||
|
||||
#ifdef SB_SANDBOX
|
||||
if ([destination respondsToSelector:@selector(stopAccessingSecurityScopedResource)])
|
||||
@@ -410,7 +412,8 @@ bail:
|
||||
_actionsInternal = [decoder decodeObjectOfClasses:[NSSet setWithObjects:[NSMutableArray class], [SBQueueSetAction class],
|
||||
[SBQueueMetadataAction class], [SBQueueSubtitlesAction class],
|
||||
[SBQueueSetLanguageAction class], [SBQueueFixFallbacksAction class],
|
||||
[SBQueueClearTrackNameAction class], [SBQueueOrganizeGroupsAction class], nil]
|
||||
[SBQueueClearTrackNameAction class], [SBQueueOrganizeGroupsAction class],
|
||||
[SBQueueColorSpaceAction class], nil]
|
||||
forKey:@"SBQueueItemActions"];
|
||||
|
||||
_status = [decoder decodeIntForKey:@"SBQueueItemStatus"];
|
||||
|
||||
Reference in new issue
Block a user