summaryrefslogtreecommitdiffstats
path: root/gtk/src/queuehandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-02-23 21:04:26 +0000
committerjstebbins <[email protected]>2014-02-23 21:04:26 +0000
commitee29f5abf647c269f07277d39ec5347d5cca51ae (patch)
tree2138afade0f4dceaa22735b7cd04b49386eb588f /gtk/src/queuehandler.c
parenta02aaa8231cac7e63f3768f43a04616073c49cd5 (diff)
LinGui: rework how hb audio mixdowns are referenced from lingui
Cleans up interface and fixes faulure to use fallbacks properly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6070 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r--gtk/src/queuehandler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c
index 4507aee6c..94f56ed7c 100644
--- a/gtk/src/queuehandler.c
+++ b/gtk/src/queuehandler.c
@@ -529,7 +529,6 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter)
for (ii = 0; ii < count; ii++)
{
gchar *quality = NULL, *samplerate, *track;
- const gchar *mix;
GValue *asettings;
gdouble sr;
const hb_encoder_t *audio_encoder;
@@ -560,7 +559,8 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter)
samplerate = g_strdup_printf("%.4g", sr);
}
track = ghb_settings_get_string(asettings, "AudioTrackDescription");
- mix = ghb_settings_combo_option(asettings, "AudioMixdown");
+ const hb_mixdown_t *mix;
+ mix = ghb_settings_mixdown(asettings, "AudioMixdown");
if (count > 1)
XPRINT("\t");
@@ -573,7 +573,7 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter)
{
XPRINT(
"<small>%s, Encoder: %s, Mixdown: %s, SampleRate: %s, %s</small>\n",
- track, audio_encoder->name, mix, samplerate, quality);
+ track, audio_encoder->name, mix->name, samplerate, quality);
}
g_free(track);
g_free(quality);