diff options
author | jstebbins <[email protected]> | 2009-02-05 00:39:50 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-02-05 00:39:50 +0000 |
commit | b73c90bb0678a98ce90b2d73d7df63f6740e3e18 (patch) | |
tree | 71fe973a200e617a1d7553592b41e10b86044323 /gtk/src/queuehandler.c | |
parent | 362e212cde83400feb0398eb46520393a5ec8c15 (diff) |
LinGui: Picture Filter enhancements
Add custom settings fields to Detelecine, Decomb, Deinterlace, and Denoise.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2116 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r-- | gtk/src/queuehandler.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index 9404ee3f8..05cae3b63 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -258,7 +258,7 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter) if (strcmp("source", fps) == 0) { g_free(fps); - if (ghb_settings_get_boolean(settings, "PictureDetelecine")) + if (ghb_settings_combo_int(settings, "PictureDetelecine")) fps = g_strdup("Same As Source (vfr detelecine)"); else fps = g_strdup("Same As Source (variable)"); @@ -281,9 +281,9 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter) gboolean decomb; gboolean filters = FALSE; - decomb = ghb_settings_get_boolean(settings, "PictureDecomb"); + decomb = ghb_settings_combo_int(settings, "PictureDecomb"); g_string_append_printf(str, "<b>Filters:</b><small>"); - if (ghb_settings_get_boolean(settings, "PictureDetelecine")) + if (ghb_settings_combo_int(settings, "PictureDetelecine")) { g_string_append_printf(str, " - Detelecine"); filters = TRUE; @@ -295,22 +295,20 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter) } else { - gint deint = ghb_settings_combo_int(settings, - tweaks ? "tweak_PictureDeinterlace":"PictureDeinterlace"); + gint deint = ghb_settings_combo_int(settings, "PictureDeinterlace"); if (deint) { const gchar *opt = ghb_settings_combo_option(settings, - tweaks ? "tweak_PictureDeinterlace":"PictureDeinterlace"); + "PictureDeinterlace"); g_string_append_printf(str, " - Deinterlace: %s", opt); filters = TRUE; } } - gint denoise = ghb_settings_combo_int(settings, - tweaks ? "tweak_PictureDenoise":"PictureDenoise"); + gint denoise = ghb_settings_combo_int(settings, "PictureDenoise"); if (denoise) { const gchar *opt = ghb_settings_combo_option(settings, - tweaks ? "tweak_PictureDenoise":"PictureDenoise"); + "PictureDenoise"); g_string_append_printf(str, " - Denoise: %s", opt); filters = TRUE; } |