public function PHPVideoToolkit::reset in Video 7.2
Same name and namespace in other branches
- 7 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 504 - Libary to access FFmpeg
Class
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->_command_output = array();
$this->_timer_start = 0;
$this->_process_file_count = 0;
$this
->__destruct();
}