You are here

public function PHPVideoToolkit::getLastCommand in Video 7

Same name and namespace in other branches
  1. 7.2 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::getLastCommand()

* Returns the last command that ffmpeg was given. * (Note; if setFormatToFLV was used in the last command then an array is returned as a command was also sent to FLVTool2) * * @access public *

Return value

mixed array|string

1 call to PHPVideoToolkit::getLastCommand()
PHPVideoToolkit::_logResult in libraries/phpvideotoolkit/phpvideotoolkit.php5.php
* Adds lines to the current log file. * * @access protected *

File

libraries/phpvideotoolkit/phpvideotoolkit.php5.php, line 3785

Class

PHPVideoToolkit

Code

public function getLastCommand() {
  return isset($this->_processed[0]) === true ? $this->_processed[0] : false;
}