summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-07-10 19:03:31 +0000
committerjstebbins <[email protected]>2008-07-10 19:03:31 +0000
commit7c07f54f7ce2fe62bd289f328b1c2ea05d3eb041 (patch)
tree0734752766dbcf1aa78fdff682eddaf574f91fbf /gtk
parent9179a2196ca96978c7710435d9fadf9e3a86d7e6 (diff)
LinGui: fix minor problem in setting up decomb
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1564 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/hb-backend.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index c36e182ed..7ac6bfff2 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -2460,7 +2460,10 @@ ghb_add_job(job_settings_t *js, gint unique_id)
gboolean decomb = ghb_settings_get_bool(settings, "decomb");
gint deint = ghb_settings_get_int(settings, "deinterlace");
- job->deinterlace = (deint == 0) ? 0 : 1;
+ if (!decomb)
+ job->deinterlace = (deint == 0) ? 0 : 1;
+ else
+ job->deinterlace = 0;
job->grayscale = ghb_settings_get_bool(settings, "grayscale");
gboolean anamorphic = ghb_settings_get_bool(settings, "anamorphic");
@@ -2499,7 +2502,7 @@ ghb_add_job(job_settings_t *js, gint unique_id)
hb_filter_decomb.settings = "1:2:6:9:40:16:16";
hb_list_add( job->filters, &hb_filter_decomb );
}
- if( !decomb && job->deinterlace )
+ if( job->deinterlace )
{
hb_filter_deinterlace.settings = (gchar*)ghb_settings_get_string(settings, "deinterlace");
hb_list_add( job->filters, &hb_filter_deinterlace );