Changeset 104
- Timestamp:
- 04/18/06 16:42:29 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/thestaticvoid/iriverter/Converter.java
r102 r104 211 211 212 212 double ofps = (info.getFrameRate() > ConverterOptions.getCurrentProfile().getMaxFrameRate() ? ConverterOptions.getCurrentProfile().getMaxFrameRate() : info.getFrameRate()); 213 commandList.add("-vf"); 214 commandList.add("filmdint=io=" + ((int) Math.round(info.getFrameRate() * 1000)) + ":" + ((int) Math.round(ofps * 1000))); 213 if (info.getFrameRate() != ofps && info.getFrameRate() < 1000) { // HACK: wmv always shows 1000 fps 214 commandList.add("-vf-add"); 215 commandList.add("filmdint=io=" + ((int) Math.round(info.getFrameRate() * 1000)) + ":" + ((int) Math.round(ofps * 1000))); 216 } 215 217 216 218 int scaledWidth = ConverterOptions.getDimensions().getWidth();
Note: See TracChangeset
for help on using the changeset viewer.
