public NativeEncodeConfig(NativeEncodeConfig config) { this.Width = config.Width; this.height = config.height; this.bitRate = config.bitRate; this.fps = config.fps; this.codecType = config.codecType; this.outPutPath = config.outPutPath; }
/// <summary> Constructor. </summary> /// <param name="config"> The configuration.</param> public NativeEncodeConfig(NativeEncodeConfig config) : this(config.width, config.height, config.bitRate, config.fps, (CodecType)config.codecType, config.outPutPath, config.useAlpha) { }