From 769ae8079fb560e598babf54e20eefca332b37d5 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Fri, 3 Jun 2011 21:56:10 +0000 Subject: LinGui: Add support for naming audio tracks. Also fix hb_audio_add. It was not copying the audio name. And fix audio track name parsing in the CLI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4020 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/common.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libhb/common.c') diff --git a/libhb/common.c b/libhb/common.c index 731409e2b..868cafbcb 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -1228,6 +1228,10 @@ int hb_audio_add(const hb_job_t * job, const hb_audio_config_t * audiocfg) audio->config.out.mixdown = audiocfg->out.mixdown; audio->config.out.gain = audiocfg->out.gain; } + if (audiocfg->out.name && *audiocfg->out.name) + { + audio->config.out.name = audiocfg->out.name; + } hb_list_add(job->list_audio, audio); return 1; -- cgit v1.2.3