예제 #1
0
 public static function doCopy(flavorParams $flavorParams, flavorParamsOutput $flavorParamsOutput)
 {
     $flavorParamsOutput->setFlavorParamsId($flavorParams->getId());
     $flavorParamsOutput->setFlavorParamsVersion($flavorParams->getVersion());
     $flavorParamsOutput->setName($flavorParams->getName());
     $flavorParamsOutput->setTags($flavorParams->getTags());
     $flavorParamsOutput->setDescription($flavorParams->getDescription());
     $flavorParamsOutput->setReadyBehavior($flavorParams->getReadyBehavior());
     $flavorParamsOutput->setIsDefault($flavorParams->getIsDefault());
     $flavorParamsOutput->setFormat($flavorParams->getFormat());
     $flavorParamsOutput->setVideoCodec($flavorParams->getVideoCodec());
     $flavorParamsOutput->setVideoBitrate($flavorParams->getVideoBitrate());
     $flavorParamsOutput->setAudioCodec($flavorParams->getAudioCodec());
     $flavorParamsOutput->setAudioBitrate($flavorParams->getAudioBitrate());
     $flavorParamsOutput->setAudioChannels($flavorParams->getAudioChannels());
     $flavorParamsOutput->setAudioSampleRate($flavorParams->getAudioSampleRate());
     $flavorParamsOutput->setAudioResolution($flavorParams->getAudioResolution());
     $flavorParamsOutput->setWidth($flavorParams->getWidth());
     $flavorParamsOutput->setHeight($flavorParams->getHeight());
     $flavorParamsOutput->setFrameRate($flavorParams->getFrameRate());
     $flavorParamsOutput->setGopSize($flavorParams->getGopSize());
     $flavorParamsOutput->setTwoPass($flavorParams->getTwoPass());
     $flavorParamsOutput->setConversionEngines($flavorParams->getConversionEngines());
     $flavorParamsOutput->setConversionEnginesExtraParams($flavorParams->getConversionEnginesExtraParams());
     $flavorParamsOutput->setCustomData($flavorParams->getCustomData());
     $flavorParamsOutput->save();
     return $flavorParamsOutput;
 }