diff options
author | jstebbins <[email protected]> | 2011-09-27 15:58:35 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-09-27 15:58:35 +0000 |
commit | 9f28aa0119abc56ca61c68e896f2d7c61fdb7b80 (patch) | |
tree | 5aef14c9def88867c1b5768da6fed6653c7be684 /make/config.guess | |
parent | 57f74136121d09a3583e5ed9c838dfab29ab8548 (diff) |
fix a crash in HandBrakeCLI
When the audio tracks are omitted (no -a), the cli uses the first source
audio track and replicates it for each audio output codec. The way it
knows what to replicate is to look at audio->in.track for the last audio
that was added to the job. This track number was being copied from the
title's in.track. But title track numbers are not guaranteed to be
sequential (e.g. scan drops tracks it can't decode). So when adding an
audio to a job, set in.track to the value of in.track that is passed in
the audio_config structure passed to hb_audio_add.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4260 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'make/config.guess')
0 files changed, 0 insertions, 0 deletions