You are here

public function TranscoderAbstractionFactory::reset in Video 7.2

Reset internal variables to their initial state.

2 calls to TranscoderAbstractionFactory::reset()
TranscoderAbstractionFactoryFfmpeg::reset in transcoders/TranscoderAbstractionFactoryFfmpeg.inc
Reset internal variables to their initial state.
TranscoderAbstractionFactoryZencoder::reset in transcoders/TranscoderAbstractionFactoryZencoder.inc
Reset internal variables to their initial state.
2 methods override TranscoderAbstractionFactory::reset()
TranscoderAbstractionFactoryFfmpeg::reset in transcoders/TranscoderAbstractionFactoryFfmpeg.inc
Reset internal variables to their initial state.
TranscoderAbstractionFactoryZencoder::reset in transcoders/TranscoderAbstractionFactoryZencoder.inc
Reset internal variables to their initial state.

File

includes/TranscoderFactory.inc, line 188
Transcoder Abstract Factory classes

Class

TranscoderAbstractionFactory
Abstract class for the transcoder classes to keep common methods

Code

public function reset($keepinput = FALSE) {
  if (!$keepinput) {
    unset($this->settings['input']);
  }
  unset($this->settings['options']);
  unset($this->settings['output']);
  $this->errors = array();
}