diff options
author | jstebbins <[email protected]> | 2013-01-03 23:28:53 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2013-01-03 23:28:53 +0000 |
commit | be67e671058466a31ecd218a7360082037ac3f81 (patch) | |
tree | 96b05f3860aae54c32d66278ffd9ba7ee28e66a3 /gtk | |
parent | 1f5b59d8d279a143b098b3faa7c9495c35348db7 (diff) |
LinGui: fix selection of mixdown when using fallback audio encoder
It was getting set to mono all the time :-\
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5141 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/hb-backend.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 38ccb00c9..5ab946f9b 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -1666,6 +1666,10 @@ ghb_get_best_mix(hb_audio_config_t *aconfig, gint acodec, gint mix) { gint layout; layout = aconfig ? aconfig->in.channel_layout : AV_CH_LAYOUT_5POINT1; + + if (mix == HB_AMIXDOWN_NONE) + mix = hb_audio_mixdowns[hb_audio_mixdowns_count-1].amixdown; + return hb_get_best_mixdown( acodec, layout, mix ); } |