diff options
author | jstebbins <[email protected]> | 2010-10-23 18:48:26 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-10-23 18:48:26 +0000 |
commit | ea857d334a63526ef0d33bb52dfe27b89d4ea412 (patch) | |
tree | 46893f827348080beeacf2b33328849fa16f4ae8 /libhb/common.h | |
parent | 8855fdd759ecbe038d0d3bd5780c56eae80ae09c (diff) |
Use libhb functions for mixdown and bitrate defaults in the cli
sanitize mixdown and audio bitrates in work.c
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3620 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r-- | libhb/common.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libhb/common.h b/libhb/common.h index 2a3d07038..7383bf627 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -145,12 +145,11 @@ extern int hb_audio_rates_count; extern int hb_audio_rates_default; extern hb_rate_t hb_audio_bitrates[]; extern int hb_audio_bitrates_count; -extern int hb_audio_bitrates_default; extern hb_mixdown_t hb_audio_mixdowns[]; extern int hb_audio_mixdowns_count; int hb_mixdown_get_mixdown_from_short_name( const char * short_name ); const char * hb_mixdown_get_short_name_from_mixdown( int amixdown ); -int hb_get_best_mixdown( uint32_t codec, int layout ); +int hb_get_best_mixdown( uint32_t codec, int layout, int mixdown ); int hb_get_default_mixdown( uint32_t codec, int layout ); int hb_find_closest_audio_bitrate(int bitrate); void hb_get_audio_bitrate_limits(uint32_t codec, int samplerate, int mixdown, int *low, int *high); |