OSDN Git Service

LinGui: fix audio codec selection problem in mkv
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 12 Oct 2010 15:43:57 +0000 (15:43 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 12 Oct 2010 15:43:57 +0000 (15:43 +0000)
UI said AAC, but encoded LAME

git-svn-id: svn://localhost/HandBrake/trunk@3597 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/hb-backend.c

index 7b1d947..6f44ecf 100644 (file)
@@ -4164,6 +4164,10 @@ ghb_select_audio_codec(GValue *settings, hb_audio_config_t *aconfig, gint acodec
                {
                        return HB_ACODEC_LAME;
                }
+               else if (acodec & HB_ACODEC_FAAC)
+               {
+                       return HB_ACODEC_FAAC;
+               }
                else
                {
                        return HB_ACODEC_LAME;