Fix using rotate and resize filters at the same time (#78)

This commit is contained in:
Romain Neutron 2013-11-29 13:25:49 +01:00
commit fca866e1d8
8 changed files with 118 additions and 7 deletions

View file

@ -16,12 +16,18 @@ use FFMpeg\FFProbe\DataMapping\StreamCollection;
abstract class AbstractStreamableMedia extends AbstractMediaType
{
private $streams;
/**
* @return StreamCollection
*/
public function getStreams()
{
return $this->ffprobe->streams($this->pathfile);
if (null === $this->streams) {
$this->streams = $this->ffprobe->streams($this->pathfile);
}
return $this->streams;
}
/**