diff options
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c index 3fd9d0e62..01cd715f8 100644 --- a/test/test.c +++ b/test/test.c @@ -965,7 +965,12 @@ static int HandleEvents( hb_handle_t * h ) } else { - hb_audio_add( job, audio ); + if( hb_audio_add( job, audio ) == 0 ) + { + fprintf(stderr, "ERROR: Invalid audio input track '%u', skipping.\n", + audio->in.track + 1 ); + num_audio_tracks--; + } } hb_list_rem(audios, audio); if( audio != NULL) |