diff options
author | Damiano Galassi <[email protected]> | 2016-06-17 12:04:22 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-06-17 12:04:22 +0200 |
commit | 05c56f469700073a4e171943934c4fb9d908e63e (patch) | |
tree | b1ce27e8984bbd7407e68536a0ecde95e643d6ce /macosx/HBPreviewController.m | |
parent | 5bddfcb2ff7cff8a0ecef45efbaff57cbad67576 (diff) |
MacGui: fix build with 10.12sdk, disable QTKit because is no longer available.
Diffstat (limited to 'macosx/HBPreviewController.m')
-rw-r--r-- | macosx/HBPreviewController.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/macosx/HBPreviewController.m b/macosx/HBPreviewController.m index 9c8903b7e..e6515ce74 100644 --- a/macosx/HBPreviewController.m +++ b/macosx/HBPreviewController.m @@ -548,7 +548,11 @@ - (void)setUpPlaybackOfURL:(NSURL *)fileURL playerClass:(Class)class; { +#if __HB_QTKIT_PLAYER_AVAILABLE NSArray<Class> *availablePlayerClasses = @[[HBAVPlayer class], [HBQTKitPlayer class]]; +#else + NSArray<Class> *availablePlayerClasses = @[[HBAVPlayer class]]; +#endif self.player = [[class alloc] initWithURL:fileURL]; |