original_string: protected function mergeOptions($src, $dst, &$options) {
      if (!isset($options['width']) && !isset($options['height'])) {
        $info = $this->getVideoInfo($src);
        $options['width'] = $info['width'];
        $options['height'] = $info['height'];
        if (!$info['audioStreams']) {
          $options['audio'] = false;
        }
      }
      if (!isset($options['targetFormat'])) {
        $ext = strtolower(substr($dst, strrpos($dst, '.') + 1));
        $options['targetFormat'] = $ext;
      }
    }
code: protected function mergeOptions($src, $dst, &$options) {
      if (!isset($options['width']) && !isset($options['height'])) {
        $info = $this->getVideoInfo($src);
        $options['width'] = $info['width'];
        $options['height'] = $info['height'];
        if (!$info['audioStreams']) {
          $options['audio'] = false;
        }
      }
      if (!isset($options['targetFormat'])) {
        $ext = strtolower(substr($dst, strrpos($dst, '.') + 1));
        $options['targetFormat'] = $ext;
      }
    }
code_tokens: protected function mergeOptions ( $ src , $ dst , & $ options ) { if ( ! isset ( $ options [ 'width' ] ) && ! isset ( $ options [ 'height' ] ) ) { $ info = $ this -> getVideoInfo ( $ src ) ; $ options [ 'width' ] = $ info [ 'width' ] ; $ options [ 'height' ] = $ info [ 'height' ] ; if ( ! $ info [ 'audioStreams' ] ) { $ options [ 'audio' ] = false ; } } if ( ! isset ( $ options [ 'targetFormat' ] ) ) { $ ext = strtolower ( substr ( $ dst , strrpos ( $ dst , '.' ) + 1 ) ) ; $ options [ 'targetFormat' ] = $ ext ; } }
docstring: If no width and height are given in the option read the video
  file and set width and height from the souce
  
  @param string $src Source video filename
  @param string $dst Desitination video filename
  @param array $options Convert options
docstring_tokens: If no width and height are given in the option read the video file and set width and height from the souce