diff options
author | jstebbins <[email protected]> | 2009-09-14 16:00:43 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-09-14 16:00:43 +0000 |
commit | 2a28e92a6328c774307851213b6da9f18c988f2f (patch) | |
tree | 50c9253e1d821bdb73051330a3c34e087d61afc5 /test | |
parent | 17e2c16741aefe47497cf83e4e73fb4808024e22 (diff) |
Allow dvd sources that have no audio
Removed the code that dropped titles if there was no audio.
Do not add a default audio track in the CLI if there are no audios in the source
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2822 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c index 54d763145..81543c308 100644 --- a/test/test.c +++ b/test/test.c @@ -1382,7 +1382,8 @@ static int HandleEvents( hb_handle_t * h ) } } - if( hb_list_count(audios) == 0 ) + if( hb_list_count(audios) == 0 && + hb_list_count(job->title->list_audio) > 0 ) { /* Create a new audio track with default settings */ audio = calloc(1, sizeof(*audio)); |