Index: trunk/extensions/OggHandler/OggHandler_body.php |
— | — | @@ -215,7 +215,7 @@ |
216 | 216 | return new OggVideoDisplay( $file, $targetFileUrl, $dstUrl, $width, $height, $length, $dstPath, $noIcon ); |
217 | 217 | } |
218 | 218 | |
219 | | - $thumbStatus = $this->gennerateThumb($file, $dstPath,$params, $width, $height); |
| 219 | + $thumbStatus = $this->generateThumb($file, $dstPath, $params, $width, $height); |
220 | 220 | if( $thumbStatus !== true ) { |
221 | 221 | return $thumbStatus; |
222 | 222 | } |
— | — | @@ -230,7 +230,7 @@ |
231 | 231 | * @param $width The target output width |
232 | 232 | * @param $height The target output height |
233 | 233 | */ |
234 | | - function gennerateThumb($file, $dstPath, $params, $width, $height){ |
| 234 | + function generateThumb($file, $dstPath, $params, $width, $height){ |
235 | 235 | global $wgFFmpegLocation, $wgOggThumbLocation; |
236 | 236 | |
237 | 237 | $length = $this->getLength( $file ); |
— | — | @@ -316,6 +316,7 @@ |
317 | 317 | // If we did not return an error return true to continue media thum display |
318 | 318 | return true; |
319 | 319 | } |
| 320 | + |
320 | 321 | function canRender( $file ) { return true; } |
321 | 322 | function mustRender( $file ) { return true; } |
322 | 323 | |