FFMpeg\Format\ProgressListener\AbstractProgressListener::__construct PHP Method

__construct() public method

public __construct ( FFMpeg\FFProbe $ffprobe, string $pathfile, integer $currentPass, integer $totalPass )
$ffprobe FFMpeg\FFProbe
$pathfile string
$currentPass integer The cureent pass number
$totalPass integer The total number of passes
    public function __construct(FFProbe $ffprobe, $pathfile, $currentPass, $totalPass)
    {
        $this->ffprobe = $ffprobe;
        $this->pathfile = $pathfile;
        $this->currentPass = $currentPass;
        $this->totalPass = $totalPass;
    }