Inject Video at Frame construction

This commit is contained in:
Romain Neutron 2013-09-04 19:50:38 +02:00
commit 5814eb3085
4 changed files with 29 additions and 9 deletions

View file

@ -159,6 +159,6 @@ class Video extends Audio
*/
public function frame(TimeCode $at)
{
return new Frame($this->pathfile, $this->driver, $this->ffprobe, $at);
return new Frame($this, $this->driver, $this->ffprobe, $at);
}
}