diff options
author | jbrjake <[email protected]> | 2008-09-29 13:53:30 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2008-09-29 13:53:30 +0000 |
commit | 07505596a90729513f861f6e9bc3ece0bf878f91 (patch) | |
tree | 4a8f1dd14b49b1a543868ec31b2105bb3d3180f1 /libhb | |
parent | b5a060485622e61075081bac36711a410df2ef92 (diff) |
Don't display a mixdown in the job settings for passthrough audio tracks.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1783 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/work.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libhb/work.c b/libhb/work.c index c283f22a1..64b061718 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -294,11 +294,14 @@ hb_display_job_info( hb_job_t * job ) hb_log( " + bitrate: %d kbps, samplerate: %d Hz", audio->config.in.bitrate / 1000, audio->config.in.samplerate ); } - for (j = 0; j < hb_audio_mixdowns_count; j++) + if( (audio->config.out.codec != HB_ACODEC_AC3) && (audio->config.out.codec != HB_ACODEC_DCA) ) { - if (hb_audio_mixdowns[j].amixdown == audio->config.out.mixdown) { - hb_log( " + mixdown: %s", hb_audio_mixdowns[j].human_readable_name ); - break; + for (j = 0; j < hb_audio_mixdowns_count; j++) + { + if (hb_audio_mixdowns[j].amixdown == audio->config.out.mixdown) { + hb_log( " + mixdown: %s", hb_audio_mixdowns[j].human_readable_name ); + break; + } } } |