diff options
author | maurj <[email protected]> | 2007-03-21 10:09:23 +0000 |
---|---|---|
committer | maurj <[email protected]> | 2007-03-21 10:09:23 +0000 |
commit | 9f205a922d50183e4df041ed24f9398ceacf8769 (patch) | |
tree | 2420aabdd846b261af990bdb621e2f40f1364f1c /libhb/internal.h | |
parent | df6924eaf9dcc86e19582f3cab91304ec739d63e (diff) |
Applied and committed saintdev's patch to fix multi-track audio. Only in the CLI for now - the GUI will need updating to reinstate the second audio dropdown.
If the -6 option is specified in the CLI (and faac is specified), then *any* 5.1 tracks specified will be exported as 6-channel AAC.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@438 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/internal.h')
-rw-r--r-- | libhb/internal.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libhb/internal.h b/libhb/internal.h index 79c978740..baba5627b 100644 --- a/libhb/internal.h +++ b/libhb/internal.h @@ -134,12 +134,26 @@ union hb_esconfig_u { uint8_t bytes[HB_CONFIG_MAX_SIZE]; int length; + /* Total channels actually used for this audio track */ + int channelsused; } aac; struct { uint8_t headers[3][HB_CONFIG_MAX_SIZE]; } vorbis; + + struct + { + /* indicates the number of normal channels the source audio has */ + int channels; + /* indicates the number of lfe channels the source audio has */ + int lfechannels; + /* ac3flags: stores the flags from the AC3 source, as found in scan.c */ + int ac3flags; + /* Total channels actually used for this audio track */ + int channelsused; + } a52; }; enum |