diff options
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r-- | macosx/Controller.mm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index b0891342a..7d07da08f 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -207,8 +207,11 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It - (NSApplicationTerminateReply) applicationShouldTerminate: (NSApplication *) app { - [fPreviewController goWindowedScreen:nil]; - // Warn if encoding a movie + if ([fPreviewController fullScreen] == YES) + { + [fPreviewController goWindowedScreen:nil]; + } + hb_state_t s; hb_get_state( fQueueEncodeLibhb, &s ); |