summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authordynaflash <[email protected]>2012-08-27 18:36:17 +0000
committerdynaflash <[email protected]>2012-08-27 18:36:17 +0000
commit09a30794cb6388909e273f0801ede2e6001bf955 (patch)
treea3f44f9cb2d3d65f7b7f7521a79a4730c357b0c1 /libhb/common.c
parent60bf93c65e36a456e35eb7556a59acca281a282e (diff)
MacGui: Add support for a secondary audio language track.
- Patch courtesy of Dennis Frommknecht ... thank you! - Adds a second language preference in Preferences > Audio -- If the corresponding language is not available in the source, the group for this language is not added. If neither default nor alternate language is found, the first audio track would be added (as it is already). The alternate language can also be left empty in which case no second group is added. -- The implementation ensures that the same track is not added twice (if default and alternate language are identical). It is also flexible enough to support an arbitrary number of languages. They just have to be added to array "preferredLanguages" at the beginning of method "addTracksFromPreset" (HBAudioController.m). The original patch and explanation can be found at https://reviews.handbrake.fr/r/262/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4921 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.c')
0 files changed, 0 insertions, 0 deletions