You are here

public function TranscoderAbstractionFactory::setOptions in Video 7.2

Set options is to set transcoding settings before send to the transcoder.

2 methods override TranscoderAbstractionFactory::setOptions()
TranscoderAbstractionFactoryFfmpeg::setOptions in transcoders/TranscoderAbstractionFactoryFfmpeg.inc
Set options is to set transcoding settings before send to the transcoder.
TranscoderAbstractionFactoryZencoder::setOptions in transcoders/TranscoderAbstractionFactoryZencoder.inc
Set options is to set transcoding settings before send to the transcoder.

File

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

Class

TranscoderAbstractionFactory
Abstract class for the transcoder classes to keep common methods

Code

public function setOptions(array $options) {
  foreach ($options as $key => $value) {
    $this->settings[$key] = $value;
  }
}