summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-10-31 14:59:32 +0000
committerjstebbins <[email protected]>2011-10-31 14:59:32 +0000
commit2eae9be4713838c9eb4a111246f2e8d63a62fd7a (patch)
tree8d85fa4e770912ee755fc58ef48f3a0ebe680e24 /gtk/src/hb-backend.c
parentee03feea6ff45d159bd4060e5f7492ac727ec600 (diff)
Allow vorbis quality to go down to -0.2
Bizzaro vorbis allows negative quality factors. They go to 11 in the wrong direction. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4332 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r--gtk/src/hb-backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index 00c6e8752..d3f85a9c8 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -4969,7 +4969,7 @@ add_job(hb_handle_t *h, GValue *js, gint unique_id, gint titleindex)
audio.out.samplerate = srate;
double quality = ghb_settings_get_double(asettings, "AudioTrackQuality");
if (ghb_settings_get_boolean(asettings, "AudioTrackQualityEnable") &&
- quality >= 0)
+ quality != -1)
{
audio.out.quality = quality;
audio.out.bitrate = -1;