]> granicus.if.org Git - handbrake/commitdiff
MacGui: fix file extension when setting a preset.
authorDamiano Galassi <damiog@gmail.com>
Sat, 22 Dec 2018 06:52:46 +0000 (07:52 +0100)
committerDamiano Galassi <damiog@gmail.com>
Sat, 22 Dec 2018 06:52:46 +0000 (07:52 +0100)
macosx/HBController.m

index c489ae2fbc87d28f5556e8e8c5d4950411642f4e..90cba3c72f5a537adb9433679c4efbca599f2301 100644 (file)
@@ -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];
     }
 }