]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix exclusive burn behavior when FAS burn enabled
authorJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 16 Jun 2017 21:39:18 +0000 (14:39 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 16 Jun 2017 21:39:18 +0000 (14:39 -0700)
It was disabling burn for other non-FAS tracks. Not the behavior I
wanted.

gtk/src/subtitlehandler.c

index ca614b7d1f935b26d86f48a1f8beacc9ac524c29..f833f86e3dc5323de024024d0f879d921ba06567 100644 (file)
@@ -758,7 +758,8 @@ subtitle_burned_toggled_cb(GtkWidget *widget, signal_user_data_t *ud)
     subsettings = subtitle_get_selected_settings(ud, &index);
     if (subsettings != NULL)
     {
-        if (ghb_dict_get_bool(subsettings, "Burn"))
+        if (ghb_dict_get_bool(subsettings, "Burn") &&
+            ghb_dict_get(subsettings, "Track") != NULL)
         {
             ghb_ui_update(ud, "SubtitleDefaultTrack", ghb_boolean_value(FALSE));
             subtitle_exclusive_burn(ud, index);