diff options
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]; |