summaryrefslogtreecommitdiffstats
path: root/gtk/src/queuehandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-02-11 01:22:50 +0000
committerjstebbins <[email protected]>2009-02-11 01:22:50 +0000
commit8fe4592112acf80dd8fba8de130196e8a12a2c46 (patch)
tree7b0a89947938c64fc1d680b434582367b2d57aa4 /gtk/src/queuehandler.c
parente6fa09bc4f3b7b093454e34805ae491d3f5ab71d (diff)
LinGui: Constant Quality Slider now QP/RF based
Nearest percentage is also shown for reference git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2138 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r--gtk/src/queuehandler.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c
index 68be7791b..55e1e9a05 100644
--- a/gtk/src/queuehandler.c
+++ b/gtk/src/queuehandler.c
@@ -243,16 +243,8 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter)
// Constant quality
vqvalue = ghb_settings_get_double(settings, "VideoQualitySlider");
vq_desc = "Constant Quality:";
- if (ghb_settings_get_boolean(settings, "directqp"))
- {
- vqstr = g_strdup_printf("%d", (gint)vqvalue);
- vq_units = "(crf)";
- }
- else
- {
- vqstr = g_strdup_printf("%.1f", 100*vqvalue);
- vq_units = "%";
- }
+ vqstr = g_strdup_printf("%d", (gint)vqvalue);
+ vq_units = "(crf)";
}
fps = ghb_settings_get_string(settings, "VideoFramerate");
if (strcmp("source", fps) == 0)