diff options
author | John Stebbins <[email protected]> | 2020-07-01 14:33:17 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2020-07-01 15:05:39 -0700 |
commit | d3ea0cbb24a5da4fac6ead6656aacf09c13e5479 (patch) | |
tree | 0516dfa409c21bc26f2c0423504daa2623aad47d /libhb/handbrake/common.h | |
parent | c3e2d6b5dd1071476de70443f0cf7e8a3b3aa373 (diff) |
Only dither audio when necessary
If dither is "auto", only enable dither if source depth > dest depth
Lossy codecs do not have a fixed bit depth, so we treat them as >= 24
Diffstat (limited to 'libhb/handbrake/common.h')
-rw-r--r-- | libhb/handbrake/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/handbrake/common.h b/libhb/handbrake/common.h index 3d91be0da..338084393 100644 --- a/libhb/handbrake/common.h +++ b/libhb/handbrake/common.h @@ -385,7 +385,7 @@ float hb_audio_compression_get_default(uint32_t codec); int hb_audio_dither_get_default(void); int hb_audio_dither_get_default_method(void); // default method, if enabled && supported -int hb_audio_dither_is_supported(uint32_t codec); +int hb_audio_dither_is_supported(uint32_t codec, int depth); int hb_audio_dither_get_from_name(const char *name); const char* hb_audio_dither_get_description(int method); const hb_dither_t* hb_audio_dither_get_next(const hb_dither_t *last); |