diff options
author | John Stebbins <[email protected]> | 2018-12-29 09:59:37 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2018-12-29 10:10:39 -0700 |
commit | b842a058cd8429f382e9e7c4f2065714b2900911 (patch) | |
tree | b786ba93dd8c96706d5d55f248afc32891bacabd /gtk/src/hb-backend.c | |
parent | 873f544513ac5a491dc97dd295bd0155ea013f1e (diff) |
LinGui: remove hidden x264 advanced options tab
It's been deprecated and hidden for several years now. Time for it to
go.
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 3a6936fb7..6277f0106 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -35,7 +35,6 @@ #include "subtitlehandler.h" #include "audiohandler.h" #include "videohandler.h" -#include "x264handler.h" #include "preview.h" #include "presets.h" #include "values.h" @@ -608,54 +607,6 @@ combo_name_map_t combo_name_map[] = generic_opt_get }, { - "x264_direct", - &direct_opts, - small_opts_set, - generic_opt_get - }, - { - "x264_b_adapt", - &badapt_opts, - small_opts_set, - generic_opt_get - }, - { - "x264_bpyramid", - &bpyramid_opts, - small_opts_set, - generic_opt_get - }, - { - "x264_weighted_pframes", - &weightp_opts, - small_opts_set, - generic_opt_get - }, - { - "x264_me", - &me_opts, - small_opts_set, - generic_opt_get - }, - { - "x264_subme", - &subme_opts, - small_opts_set, - generic_opt_get - }, - { - "x264_analyse", - &analyse_opts, - small_opts_set, - generic_opt_get - }, - { - "x264_trellis", - &trellis_opts, - small_opts_set, - generic_opt_get - }, - { "AudioBitrate", NULL, audio_bitrate_opts_set, @@ -1248,8 +1199,6 @@ ghb_grey_combo_options(signal_user_data_t *ud) mux_id = ghb_dict_get_string(ud->settings, "FileFormat"); mux = ghb_lookup_container_by_name(mux_id); - grey_builder_combo_box_item(ud->builder, "x264_analyse", 4, TRUE); - const hb_encoder_t *enc; for (enc = hb_audio_encoder_get_next(NULL); enc != NULL; enc = hb_audio_encoder_get_next(enc)) @@ -3155,24 +3104,6 @@ init_ui_combo_boxes(GtkBuilder *builder) } } -// Construct the advanced options string -// The result is allocated, so someone must free it at some point. -const gchar* -ghb_build_advanced_opts_string(GhbValue *settings) -{ - gint vcodec; - vcodec = ghb_settings_video_encoder_codec(settings, "VideoEncoder"); - switch (vcodec) - { - case HB_VCODEC_X264_8BIT: - case HB_VCODEC_X264_10BIT: - return ghb_dict_get_string(settings, "x264Option"); - - default: - return NULL; - } -} - void ghb_part_duration(const hb_title_t *title, gint sc, gint ec, gint *hh, gint *mm, gint *ss) { |