@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | $this->cpeLogger->log_out( |
| 45 | 45 | "INFO", |
| 46 | 46 | basename(__FILE__), |
| 47 | - "Input Video metadata: " . print_r($metadata, true), |
|
| 47 | + "Input Video metadata: ".print_r($metadata, true), |
|
| 48 | 48 | $this->activityLogKey |
| 49 | 49 | ); |
| 50 | 50 | |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | $this->cpeLogger->log_out( |
| 118 | 118 | "ERROR", |
| 119 | 119 | basename(__FILE__), |
| 120 | - "Execution of command '".$convertCmd."' failed: " . print_r($metadata, true). ". ".$e->getMessage(), |
|
| 120 | + "Execution of command '".$convertCmd."' failed: ".print_r($metadata, true).". ".$e->getMessage(), |
|
| 121 | 121 | $this->activityLogKey |
| 122 | 122 | ); |
| 123 | 123 | return false; |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | |
| 162 | 162 | // Append output filename to path |
| 163 | 163 | $pathToOutputFiles .= |
| 164 | - "/" . $outputWanted->{'output_file_info'}['basename']; |
|
| 164 | + "/".$outputWanted->{'output_file_info'}['basename']; |
|
| 165 | 165 | |
| 166 | 166 | $convertCmd = "convert $convertArgs $pathToOutputFiles"; |
| 167 | 167 | |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | $pathToInputFile, $convertCmd); |
| 185 | 185 | |
| 186 | 186 | // Append output filename to path |
| 187 | - $pathToOutputFiles .= "/" . $outputWanted->{'output_file_info'}['basename']; |
|
| 187 | + $pathToOutputFiles .= "/".$outputWanted->{'output_file_info'}['basename']; |
|
| 188 | 188 | // Replace ${output_file} by output filename and path to local disk |
| 189 | 189 | $convertCmd = preg_replace('/\$\{output_file\}/', |
| 190 | 190 | $pathToOutputFiles, $convertCmd); |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | else if (isset($this->input->{'input_asset'}->{'http'})) |
| 110 | 110 | { |
| 111 | 111 | // Pad HTTP input so it is cached in case of full encodes |
| 112 | - $this->pathToInputFile = 'cache:' . $this->input->{'input_asset'}->{'http'}; |
|
| 112 | + $this->pathToInputFile = 'cache:'.$this->input->{'input_asset'}->{'http'}; |
|
| 113 | 113 | } |
| 114 | 114 | } |
| 115 | 115 | |