*
* @author yuki
*/
-public class Ffmpeg implements yukihane.saccubus.converter.profile.FfmpegProfile {
+public class Ffmpeg implements yukihane.saccubus.converter.profile.ConvertProfile {
private final File ffmpeg;
private final File vhook;
private final boolean showConverting;
private final boolean selfAdjustFontSize;
private final boolean commentOpaque;
- private final NgSetting ngSetting;
+ private final HideCondition ngSetting;
public Ffmpeg(File ffmpegPath, File vhookPath, FfmpegOption ffmpegOption, boolean vhookDisabled,
int videoShowNum, File fontPath, int fontIndex, int shadowIndex, boolean showConvertingVideo,
- boolean selfAdjustFontSize, boolean opaqueComment, NgSetting ngSetting) {
+ boolean selfAdjustFontSize, boolean opaqueComment, HideCondition ngSetting) {
this.ffmpeg = ffmpegPath;
this.vhook = vhookPath;
this.ffmpegOption = ffmpegOption;
return commentOpaque;
}
- public boolean isSelfAdjustFontSize() {
- return selfAdjustFontSize;
+ @Override
+ public boolean isDisableFontSizeArrange() {
+ return !selfAdjustFontSize;
}
public int getShadowIndex() {
return maxNumOfComment;
}
- public NgSetting getNgSetting() {
+ public HideCondition getNgSetting() {
return ngSetting;
}
}