Merge branch 'develop' into feature/stream

This commit is contained in:
Pierre Rudloff 2016-04-30 03:23:17 +02:00
commit 6ef3105f89

View file

@ -195,7 +195,10 @@ class FrontController
);
$chain->add('|', $avconvProc);
}
return $response->withBody(new PopenStream($chain->getProcess()->getCommandLine()));
if ($request->isGet()) {
$response = $response->withBody(new PopenStream($chain->getProcess()->getCommandLine()));
}
return $response;
}
} catch (\Exception $e) {
$error = $e->getMessage();