summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-04-27 17:41:48 +0000
committerjstebbins <[email protected]>2012-04-27 17:41:48 +0000
commita984cc1333479a325c23f988507764cbd1845175 (patch)
treecece83c32751d20053daf3288db672fe9d3e0b50 /gtk/src
parent79fa195e6886bae9d4d358e6caa76a2de2610437 (diff)
LinGui: fix problem with fallback audio encoder selection
sanitizing for mkv was broken and sanitized out vorbis and flac git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4607 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/audiohandler.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c
index d0e3f8d88..7efbfb74f 100644
--- a/gtk/src/audiohandler.c
+++ b/gtk/src/audiohandler.c
@@ -160,11 +160,13 @@ static int ghb_select_fallback( GValue *settings, int mux, int acodec )
}
if ( mux == HB_MUX_MKV )
{
- mask = HB_ACODEC_LAME |
- HB_ACODEC_FFAAC |
+ mask =
+ HB_ACODEC_FAAC |
+ HB_ACODEC_LAME |
+ HB_ACODEC_VORBIS |
HB_ACODEC_AC3 |
- HB_ACODEC_DCA |
- HB_ACODEC_DCA_HD;
+ HB_ACODEC_FFAAC |
+ HB_ACODEC_FFFLAC;
}
if (!(fallback & mask ))
{