public override bool Equals(object obj) { Transcoding t = obj as Transcoding; if (t != null) { return((t.InputFormat == this.InputFormat) && (t.OutputFormat == this.OutputFormat)); } return(false); }
private void InternalChangeEncoding(AudioMediaFormatType inputFormat, AudioMediaFormatType outputFormat, string file) { _transcoding = new Transcoding { InputFormat = inputFormat, OutputFormat = outputFormat }; if (_supportedTranscodings.Contains(_transcoding) == false) { throw new NotSupportedException(string.Format("TXT_UNSUPPORTED_TRANSCODING: {0}", _transcoding)); } _transcoding.DoTranscoding(EncoderSettings, file); }
private void InternalChangeEncoding(AudioMediaFormatType inputFormat, AudioMediaFormatType outputFormat, string file) { _transcoding = new Transcoding { InputFormat = inputFormat, OutputFormat = outputFormat }; if (_supportedTranscodings.Contains(_transcoding) == false) throw new NotSupportedException(string.Format("TXT_UNSUPPORTED_TRANSCODING: {0}", _transcoding)); _transcoding.DoTranscoding(EncoderSettings, file); }