public function PHPVideoToolkit::setGifLoops in Video 7.2
Same name and namespace in other branches
- 7 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::setGifLoops()
Sets the amount of time an animated gif output will loop
@access public
Parameters
integer $loop_count If FALSE the gif will not loop, if 0 it will loop endlessly, any other number it will loop that amount.:
File
- libraries/
phpvideotoolkit/ phpvideotoolkit.php5.php, line 1596 - Libary to access FFmpeg
Class
Code
public function setGifLoops($loop_count) {
if ($loop_count !== FALSE) {
$this
->addCommand('-loop_output', $loop_count);
}
}