@@ -78,7 +78,7 @@ |
||
| 78 | 78 | $process->setIdleTimeout(30); |
| 79 | 79 | |
| 80 | 80 | try { |
| 81 | - $process->mustRun(function ($type, $buffer) { |
|
| 81 | + $process->mustRun(function($type, $buffer) { |
|
| 82 | 82 | if (Process::ERR === $type) { |
| 83 | 83 | echo 'ERR > ' . $buffer; |
| 84 | 84 | } else { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | 'headers.expose' => ['Etag'], |
| 22 | 22 | 'credentials' => true, |
| 23 | 23 | 'cache' => 0, |
| 24 | - 'error' => function ($request, $response, $arguments) use ($problemDetailsResponseFactory) { |
|
| 24 | + 'error' => function($request, $response, $arguments) use ($problemDetailsResponseFactory) { |
|
| 25 | 25 | //return $this->error($request, $response, $arguments); |
| 26 | 26 | return $problemDetailsResponseFactory->createResponse( |
| 27 | 27 | $request, |
@@ -117,8 +117,7 @@ |
||
| 117 | 117 | 2000 |
| 118 | 118 | ); |
| 119 | 119 | |
| 120 | - $interlaceMode = $interlaceGuess->isInterlacedBff(0.4) ? 'BFF' : |
|
| 121 | - ($interlaceGuess->isInterlacedTff(0.4) ? 'TFF' : ''); |
|
| 120 | + $interlaceMode = $interlaceGuess->isInterlacedBff(0.4) ? 'BFF' : ($interlaceGuess->isInterlacedTff(0.4) ? 'TFF' : ''); |
|
| 122 | 121 | |
| 123 | 122 | $vStream = $info->getVideoStreams()->getFirst(); |
| 124 | 123 | |