]> granicus.if.org Git - handbrake/commitdiff
preset: fix application of anamorphic "Off"
authorJohn Stebbins <jstebbins.hb@gmail.com>
Sun, 19 Feb 2017 15:36:20 +0000 (08:36 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Sun, 19 Feb 2017 15:37:16 +0000 (08:37 -0700)
(cherry picked from commit 429b5d5941bd8f60bc9fa6d74cc23d526c3ef1fa)

libhb/preset.c

index cef89d0a2f47c715d1f3d85cbce1563b898f8660..0b7f37734e52bf3df4d5d9072a8d4cfd197456a6 100644 (file)
@@ -1733,7 +1733,7 @@ int hb_preset_apply_title(hb_handle_t *h, int title_index,
     if (hb_value_type(ana_mode_value) == HB_VALUE_TYPE_STRING)
     {
         const char *s = hb_value_get_string(ana_mode_value);
-        if (!strcasecmp(s, "none"))
+        if (!strcasecmp(s, "off"))
             geo.mode = HB_ANAMORPHIC_NONE;
         else if (!strcasecmp(s, "strict"))
             geo.mode = HB_ANAMORPHIC_STRICT;