Commit 80ec0538 authored by ludwig's avatar ludwig

Improved error handling

git-svn-id: https://www2.in.tum.de/repos/ttt/trunk@90 0463f305-d864-43cb-8a47-61cf597d4139
parent 160efac3
......@@ -504,8 +504,15 @@ public class TTTProcessor {
long audioDurations[] = null;
long videoDurations[] = null;
WavConcat audioConcat = null;
try{
audioConcat = new WavConcat(audioFiles, audioOutput);
}catch(NullPointerException e){
cannotConcatAudio = true;
}
WavConcat audioConcat = new WavConcat(audioFiles, audioOutput);
Concat videoConcat = new Concat();
if (!cannotConcatVideo) {
System.out.println("Concatenating video");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment