From: Damiano Galassi <damiog@gmail.com>
Date: Sat, 22 Dec 2018 06:52:46 +0000 (+0100)
Subject: MacGui: fix file extension when setting a preset.
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84d552b7bb44bf65c680deeb6f40e91453398248;p=handbrake

MacGui: fix file extension when setting a preset.
---

diff --git a/macosx/HBController.m b/macosx/HBController.m
index c489ae2fb..90cba3c72 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -1357,10 +1357,12 @@ static void *HBControllerQueueCoreContext = &HBControllerQueueCoreContext;
         // Apply the preset to the current job
         [self.job applyPreset:self.currentPreset];
 
+        [self addJobObservers];
+
+        [self.autoNamer updateFileExtension];
+
         // If Auto Naming is on, update the destination
         [self.autoNamer updateFileName];
-
-        [self addJobObservers];
     }
 }