diff options
author | jstebbins <[email protected]> | 2014-02-23 23:01:53 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-02-23 23:01:53 +0000 |
commit | 2ed82f3a4cf8251f8cbebeaad70b4b125f7e70a5 (patch) | |
tree | a17be252ff8cde7748b8e78d6b1470b11174a7d3 /gtk/src/queuehandler.c | |
parent | f498cb2c881b6194272443b2b8f101acfa955f4c (diff) |
LinGui: rework how hb audio bitrate is referenced by lingui
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6073 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r-- | gtk/src/queuehandler.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index 55e712892..53e2faede 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -545,10 +545,8 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter) } else { - char *br; - br = ghb_settings_get_string(asettings, "AudioBitrate"); - quality = g_strdup_printf("Bitrate: %s", br); - g_free(br); + int br = ghb_settings_audio_bitrate_rate(asettings, "AudioBitrate"); + quality = g_strdup_printf("Bitrate: %d", br); } const hb_rate_t *sr; sr = ghb_settings_audio_samplerate(asettings, "AudioSamplerate"); |