From 4334419b4adbc78648608ad4076de8005f4c4f27 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Tue, 24 Jan 2017 15:44:03 -0700 Subject: [PATCH] LinGui: clear extra options when video codec changes Some valid options (e.g. vp9 qmin=0) can crash some libav encoders (mpeg4). --- gtk/src/videohandler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/src/videohandler.c b/gtk/src/videohandler.c index 5d2f42b7e..e93c34c88 100644 --- a/gtk/src/videohandler.c +++ b/gtk/src/videohandler.c @@ -84,6 +84,7 @@ vcodec_changed_cb(GtkWidget *widget, signal_user_data_t *ud) ghb_ui_update(ud, "VideoTune", ghb_int_value(0)); ghb_ui_update(ud, "VideoProfile", ghb_int_value(0)); ghb_ui_update(ud, "VideoLevel", ghb_int_value(0)); + ghb_ui_update(ud, "VideoOptionExtra", ghb_string_value("")); // Set the range of the preset slider int encoder = ghb_get_video_encoder(ud->settings); -- 2.40.0