From 00176d7fd3e25fcdb3ce61f313b384d4c2508788 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 29 Oct 2011 17:40:22 +0000 Subject: LinGui: fix "Auto" audio encoder selection When a fallback encoder is chosen, the actual encoder used should show up in the audio list, but "Auto" should remain selected in the dropdown. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4327 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/audiohandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/src/audiohandler.c') diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c index 8cce163f6..4f2925359 100644 --- a/gtk/src/audiohandler.c +++ b/gtk/src/audiohandler.c @@ -389,7 +389,7 @@ ghb_set_pref_audio_settings(gint titleindex, GValue *settings) // HB_ACODEC_* are bit fields. Treat acodec as mask if (!(aconfig->in.codec & select_acodec & HB_ACODEC_PASS_MASK)) { - if (acodec != HB_ACODEC_ANY) + if (acodec != HB_ACODEC_AUTO_PASS) acodec = fallback; // If we can't substitute the passthru with a suitable // encoder and -- cgit v1.2.3