public VideoFileInfo(ExtraFileInfo orig) { try { this.encodeAvs = ((VideoFileInfo)orig).encodeAvs; this.encodedFile = ((VideoFileInfo)orig).encodedFile; this.fps = ((VideoFileInfo)orig).fps; //this.resX = ((VideoFileInfo)orig).resX; //this.resY = ((VideoFileInfo)orig).resY; this.length = ((VideoFileInfo)orig).length; this.frames = ((VideoFileInfo)orig).frames; if (((VideoFileInfo)orig).cropInfo == null) { this.cropInfo = null; } else { this.cropInfo = new CropInfo(((VideoFileInfo)orig).cropInfo); } } catch (Exception) { } }
public SubtitleFileInfo(ExtraFileInfo orig) { try { this.forcedIdx = ((SubtitleFileInfo)orig).forcedIdx; this.forcedSub = ((SubtitleFileInfo)orig).forcedSub; this.forcedSup = ((SubtitleFileInfo)orig).forcedSup; this.normalIdx = ((SubtitleFileInfo)orig).normalIdx; this.normalSub = ((SubtitleFileInfo)orig).normalSub; this.normalSup = ((SubtitleFileInfo)orig).normalSup; this.forcedIdxLowRes = ((SubtitleFileInfo)orig).forcedIdxLowRes; this.forcedSubLowRes = ((SubtitleFileInfo)orig).forcedSubLowRes; this.normalIdxLowRes = ((SubtitleFileInfo)orig).normalIdxLowRes; this.normalSubLowRes = ((SubtitleFileInfo)orig).normalSubLowRes; this.isSecond = ((SubtitleFileInfo)orig).isSecond; } catch (Exception) { } }
public ExtraFileInfo(ExtraFileInfo orig) { }