You are here

public function PHPVideoToolkit::reset in Video 7

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

* Resets the class * * @access public *

Parameters

boolean $keep_input_file Determines whether or not to reset the input file currently set.:

File

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

Class

PHPVideoToolkit

Code

public function reset($keep_input_file = false, $keep_processes = false) {
  if ($keep_input_file === false) {
    $this->_input_file = null;
  }
  if ($keep_processes === false) {
    $this->_post_processes = array();
  }
  $this->_single_frame_extraction = null;
  $this->_output_address = null;
  $this->_process_address = null;
  $this->_log_file = null;
  $this->_commands = array();
  $this->_timer_start = 0;
  $this->_process_file_count = 0;
  $this
    ->__destruct();
}