Changeset 84
- Timestamp:
- 04/06/06 19:55:37 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/org/thestaticvoid/iriverter/Converter.java
r82 r84 30 30 if (jobs.get(i) instanceof OutputVideoInfo) { 31 31 OutputVideoInfo outputVideoInfo = (OutputVideoInfo) jobs.get(i); 32 33 if (outputVideoInfo.getOutputVideo().equals("")) 34 continue; 35 32 36 if (!outputVideoInfo.getOutputVideo().endsWith("." + converterOptions.getCurrentProfile().getWrapperFormat()) && !outputVideoInfo.getOutputVideo().equals("")) 33 37 outputVideoInfo.setOutputVideo(outputVideoInfo.getOutputVideo() + "." + converterOptions.getCurrentProfile().getWrapperFormat()); … … 41 45 if (jobs.get(i) instanceof SingleVideoInfo) { 42 46 SingleVideoInfo singleVideoInfo = (SingleVideoInfo) jobs.get(i); 43 if (new File(singleVideoInfo.getInputVideo()).exists() && !singleVideoInfo.getOutputVideo().equals("") &&validOutput)47 if (new File(singleVideoInfo.getInputVideo()).exists() && validOutput) 44 48 newJobs.add(singleVideoInfo); 45 49 } else if (jobs.get(i) instanceof DirectoryInfo) { … … 53 57 } else if (jobs.get(i) instanceof DVDInfo) { 54 58 DVDInfo dvdInfo = (DVDInfo) jobs.get(i); 55 if (!dvdInfo.getDrive().equals("") && !dvdInfo.getOutputVideo().equals("") &&validOutput)59 if (!dvdInfo.getDrive().equals("") && validOutput) 56 60 newJobs.add(dvdInfo); 57 61 } else if (jobs.get(i) instanceof ManualSplitInfo) {
