diff options
author | jstebbins <[email protected]> | 2011-10-29 17:40:22 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-10-29 17:40:22 +0000 |
commit | 00176d7fd3e25fcdb3ce61f313b384d4c2508788 (patch) | |
tree | 6980f6263c0b2dcb5a8aab0d375e2f8e6b55af0a /gtk/src | |
parent | b1f4095b832276c031162d3f68ce8dfdeedc92ae (diff) |
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
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/audiohandler.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |