From: John Stebbins Date: Tue, 24 Jan 2017 22:44:03 +0000 (-0700) Subject: LinGui: clear extra options when video codec changes X-Git-Tag: 1.0.3~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e8b01e38239393fa9d22c0b40c5f4bbd75ec5fc;p=handbrake LinGui: clear extra options when video codec changes Some valid options (e.g. vp9 qmin=0) can crash some libav encoders (mpeg4). (cherry picked from commit 4334419b4adbc78648608ad4076de8005f4c4f27) --- 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);