summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-12-04 23:31:26 +0000
committerjstebbins <[email protected]>2009-12-04 23:31:26 +0000
commit1afb478f0ef8645737284981bd1427f41389b742 (patch)
treef707178d50f461154a2c6139397d680654056791
parent01f0aee93cfe61edc811ec29861e9cb823d82bcb (diff)
LinGui: fix mbtree x264 option sanitizer
forgot to remove the code that set the default to 0 when there are b-frames git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3005 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--gtk/src/x264handler.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gtk/src/x264handler.c b/gtk/src/x264handler.c
index a46641203..2118349e5 100644
--- a/gtk/src/x264handler.c
+++ b/gtk/src/x264handler.c
@@ -893,14 +893,7 @@ sanitize_x264opts(signal_user_data_t *ud, const gchar *options)
val = "1";
}
const gchar *def_val;
- if (find_syn_match(opt, x264_mbtree_syns) >= 0 && bframes == 0)
- {
- def_val = "0";
- }
- else
- {
- def_val = x264_opt_get_default(opt);
- }
+ def_val = x264_opt_get_default(opt);
if (strcmp(val, def_val) == 0)
{
// Matches the default, so remove it