Вход Регистрация
Файл: vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Filters/AdvancedMedia/ComplexFilterContainer.php
Строк: 65
<?php

namespace FFMpegFiltersAdvancedMedia;

use 
FFMpegMediaAdvancedMedia;

/**
 * Container for the complex compatible filter.
 */
class ComplexFilterContainer implements ComplexFilterInterface
{
    
/**
     * @var int
     */
    
private $priority;

    
/**
     * @var ComplexCompatibleFilter
     */
    
private $baseFilter;

    
/**
     * @var string
     */
    
private $inLabels;

    
/**
     * @var string
     */
    
private $outLabels;

    
/**
     * ComplexFilter constructor.
     *
     * @param string $inLabels
     * @param string $outLabels
     */
    
public function __construct($inLabelsComplexCompatibleFilter $baseFilter$outLabels)
    {
        
$this->priority $baseFilter->getPriority();
        
$this->inLabels $inLabels;
        
$this->baseFilter $baseFilter;
        
$this->outLabels $outLabels;
    }

    
/**
     * Returns the priority of the filter.
     *
     * @return int
     */
    
public function getPriority()
    {
        return 
$this->priority;
    }

    
/**
     * @return string
     */
    
public function getInLabels()
    {
        return 
$this->inLabels;
    }

    
/**
     * @return string
     */
    
public function getOutLabels()
    {
        return 
$this->outLabels;
    }

    
/**
     * Get name of the filter.
     *
     * @return string
     */
    
public function getName()
    {
        return 
$this->baseFilter->getName();
    }

    
/**
     * Get minimal version of ffmpeg starting with which this filter is supported.
     *
     * @return string
     */
    
public function getMinimalFFMpegVersion()
    {
        return 
$this->baseFilter->getMinimalFFMpegVersion();
    }

    
/**
     * {@inheritdoc}
     */
    
public function applyComplex(AdvancedMedia $media)
    {
        return 
$this->baseFilter->applyComplex($media);
    }
}
Онлайн: 0
Реклама