From ee29f5abf647c269f07277d39ec5347d5cca51ae Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sun, 23 Feb 2014 21:04:26 +0000 Subject: 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 --- gtk/src/queuehandler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk/src/queuehandler.c') 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( "%s, Encoder: %s, Mixdown: %s, SampleRate: %s, %s\n", - track, audio_encoder->name, mix, samplerate, quality); + track, audio_encoder->name, mix->name, samplerate, quality); } g_free(track); g_free(quality); -- cgit v1.2.3