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

handle() public method

public handle ( $type, $data )
    public function handle($type, $data)
    {
        if (null !== ($progress = $this->parseProgress($data))) {
            $this->emit('progress', array_values($progress));
        }
    }