]> granicus.if.org Git - handbrake/commitdiff
MacGui: sleep prevention in HBCore should be on by default.
authorDamiano Galassi <damiog@gmail.com>
Mon, 9 Jan 2017 07:48:01 +0000 (08:48 +0100)
committerDamiano Galassi <damiog@gmail.com>
Mon, 9 Jan 2017 07:50:30 +0000 (08:50 +0100)
(cherry picked from commit bcf44aad7103116507eedaa66ca8103c97b2d32b)

macosx/HBCore.m

index baabcf75d63f74bc3411a86d6305e00648900a53..50b3e6cce1e9ae258da6c604531fa43f138c272e 100644 (file)
@@ -92,6 +92,7 @@ static void hb_error_handler(const char *errmsg)
     if (self)
     {
         _name = @"HBCore";
+        _automaticallyPreventSleep = YES;
         _state = HBStateIdle;
         _updateTimerQueue = queue;
         _titles = @[];