diff options
author | jstebbins <[email protected]> | 2009-02-11 23:53:48 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-02-11 23:53:48 +0000 |
commit | dcbd58dc1a156db5feadfbe5579478f2bbd9eb82 (patch) | |
tree | 0d570905445d4a1b77a7782a37a193af952e9d4c /gtk/src/x264handler.c | |
parent | 7556f1aa51659a9d5aa96e6f7b8e0e9dcf165248 (diff) |
LinGui: add b-adapt combo box to x264 tab
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2147 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/x264handler.c')
-rw-r--r-- | gtk/src/x264handler.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/src/x264handler.c b/gtk/src/x264handler.c index 26c5c359b..cad604999 100644 --- a/gtk/src/x264handler.c +++ b/gtk/src/x264handler.c @@ -140,6 +140,7 @@ struct x264_opt_map_s static gchar *x264_ref_syns[] = {"ref", "frameref", NULL}; static gchar *x264_mixed_syns[] = {"mixed-refs", "mixed_refs", NULL}; static gchar *x264_bframes_syns[] = {"bframes", NULL}; +static gchar *x264_badapt_syns[] = {"b-adapt", "b_adapt", NULL}; static gchar *x264_direct_syns[] = {"direct", "direct-pred", "direct_pred", NULL}; static gchar *x264_weightb_syns[] = {"weightb", "weight-b", "weight_b", NULL}; @@ -152,7 +153,7 @@ static gchar *x264_8x8dct_syns[] = {"8x8dct", NULL}; static gchar *x264_deblock_syns[] = {"deblock", "filter", NULL}; static gchar *x264_trellis_syns[] = {"trellis", NULL}; static gchar *x264_pskip_syns[] = {"no-fast-pskip", "no_fast_pskip", NULL}; -static gchar *x264_psy_syns[] = {"psy-rd", NULL}; +static gchar *x264_psy_syns[] = {"psy-rd", "psy_rd", NULL}; static gchar *x264_decimate_syns[] = {"no-dct-decimate", "no_dct_decimate", NULL}; static gchar *x264_cabac_syns[] = {"cabac", NULL}; @@ -175,6 +176,7 @@ struct x264_opt_map_s x264_opt_map[] = {x264_mixed_syns, "x264_mixed_refs", "0", X264_OPT_BOOL}, {x264_bframes_syns, "x264_bframes", "0", X264_OPT_INT}, {x264_direct_syns, "x264_direct", "spatial", X264_OPT_COMBO}, + {x264_badapt_syns, "x264_b_adapt", "1", X264_OPT_COMBO}, {x264_weightb_syns, "x264_weighted_bframes", "0", X264_OPT_BOOL}, {x264_bpyramid_syns, "x264_bpyramid", "0", X264_OPT_BOOL}, {x264_me_syns, "x264_me", "hex", X264_OPT_COMBO}, @@ -664,6 +666,7 @@ sanitize_x264opts(signal_user_data_t *ud, const gchar *options) { x264_remove_opt(split, x264_weightb_syns); x264_remove_opt(split, x264_direct_syns); + x264_remove_opt(split, x264_badapt_syns); } if (bframes <= 1) { |