diff options
author | Rodeo <[email protected]> | 2012-07-29 14:16:28 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-07-29 14:16:28 +0000 |
commit | d3593cb63f7a6c8602faae00f04da378f060fb4c (patch) | |
tree | d5ab5058a5f4283271a8da3c4269704184a7155e /gtk/src/hb-backend.c | |
parent | 93dee4d1960fa54a3c08d889f31cd56db1dfbb49 (diff) |
Use HB_INVALID_AMIXDOWN and HB_AMIXDOWN_NONE where applicable.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4879 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index a4d5ee040..f5746e9f9 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -1683,7 +1683,7 @@ ghb_grey_combo_options(signal_user_data_t *ud) fallback = ghb_settings_combo_int(ud->settings, "AudioEncoderFallback"); gint copy_mask = ghb_get_copy_mask(ud->settings); acodec = ghb_select_audio_codec(mux, aconfig, acodec, fallback, copy_mask); - gint best = hb_get_best_mixdown(acodec, aconfig->in.channel_layout, 0); + gint best = hb_get_best_mixdown(acodec, aconfig->in.channel_layout, HB_INVALID_AMIXDOWN); allow_stereo = best >= HB_AMIXDOWN_STEREO; allow_dolby = best >= HB_AMIXDOWN_DOLBY; @@ -4479,7 +4479,7 @@ ghb_validate_audio(GValue *settings) gboolean allow_6ch = TRUE; allow_mono = TRUE; - gint best = hb_get_best_mixdown(codec, aconfig->in.channel_layout, 0); + gint best = hb_get_best_mixdown(codec, aconfig->in.channel_layout, HB_INVALID_AMIXDOWN); allow_stereo = best >= HB_AMIXDOWN_STEREO; allow_dolby = best >= HB_AMIXDOWN_DOLBY; |