summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-06-03 21:56:10 +0000
committerjstebbins <[email protected]>2011-06-03 21:56:10 +0000
commit769ae8079fb560e598babf54e20eefca332b37d5 (patch)
treec7689e07101982244ece2a2c7dec0cb0074b5360 /libhb/common.c
parent3a6f545a6bd88001c994383b32e9560000111899 (diff)
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
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c4
1 files changed, 4 insertions, 0 deletions
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;