X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=test%2Ftest.c;h=41bbe51e06abb7a93228371f22bd5112fe83464d;hb=f35d39f9adca67471b72f3e47398855d51481f87;hp=54d763145d19e24f3435d132c08604d233f64dbf;hpb=83fe2cf22209c9884cdb517b94e9492c74b71629;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/test/test.c b/test/test.c index 54d76314..41bbe51e 100644 --- a/test/test.c +++ b/test/test.c @@ -30,7 +30,7 @@ #endif /* Options */ -static int debug = HB_DEBUG_NONE; +static int debug = HB_DEBUG_ALL; static int update = 0; static int dvdnav = 0; static char * input = NULL; @@ -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));