diff options
author | John Stebbins <[email protected]> | 2017-01-24 15:44:03 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2017-01-24 15:45:39 -0700 |
commit | 4334419b4adbc78648608ad4076de8005f4c4f27 (patch) | |
tree | 00afdc132cb091b3ad2c83251caea14caa332939 /gtk/src/videohandler.c | |
parent | c32a823816c58ffc8ea72394f40629f769830c09 (diff) |
LinGui: clear extra options when video codec changes
Some valid options (e.g. vp9 qmin=0) can crash some libav encoders (mpeg4).
Diffstat (limited to 'gtk/src/videohandler.c')
-rw-r--r-- | gtk/src/videohandler.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |