Allow use of FFProbe on remote files

This commit is contained in:
Romain Neutron 2013-08-05 14:36:27 +02:00
commit 69767d3d34
3 changed files with 35 additions and 19 deletions

View file

@ -228,18 +228,6 @@ class FFProbeTest extends TestCase
$this->assertEquals($output, call_user_func(array($ffprobe, $method), $pathfile));
}
/**
* @expectedException FFMpeg\Exception\InvalidArgumentException
* @dataProvider provideProbeMethod
*/
public function testProbeWithInvalidFile($method)
{
$pathfile = '/path/to/nofile';
$ffprobe = new FFProbe($this->getFFProbeDriverMock(), $this->getCacheMock());
call_user_func(array($ffprobe, $method), $pathfile);
}
public function provideProbeMethod()
{
return array(