summaryrefslogtreecommitdiffstats
path: root/gtk/src/callbacks.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-10-14 20:46:27 +0000
committerjstebbins <[email protected]>2009-10-14 20:46:27 +0000
commitb5bcace7027df5b269d3dfba32df9fa7c05e1d85 (patch)
tree713776a56b12cf4a08505857920696df89e4d940 /gtk/src/callbacks.c
parent3b76ee6a04ac59d3f3da080eb08d974734916db1 (diff)
LinGui: remove CQP option from preferences
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2887 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/callbacks.c')
-rw-r--r--gtk/src/callbacks.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 4cd6447f4..5067767a9 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -4361,13 +4361,8 @@ format_vquality_cb(GtkScale *scale, gdouble val, signal_user_data_t *ud)
{
case HB_VCODEC_X264:
{
- gboolean crf;
- crf = ghb_settings_get_boolean(ud->settings, "constant_rate_factor");
percent = 100. * (51 - val) / 51.;
- if (crf)
- return g_strdup_printf("RF: %.4g (%.0f%%)", val, percent);
- else
- return g_strdup_printf("QP: %.4g (%.0f%%)", val, percent);
+ return g_strdup_printf("RF: %.4g (%.0f%%)", val, percent);
} break;
case HB_VCODEC_FFMPEG: