Index: trunk/extensions/OggHandler/OggHandler_body.php |
— | — | @@ -261,9 +261,9 @@ |
262 | 262 | |
263 | 263 | global $wgOggThumbLocation; |
264 | 264 | if ( $wgOggThumbLocation !== false ) { |
265 | | - $status = $this->runOggThumb( $file->getPath(), $dstPath, $thumbTime ); |
| 265 | + $status = $this->runOggThumb( $file->getLocalRefPath(), $dstPath, $thumbTime ); |
266 | 266 | } else { |
267 | | - $status = $this->runFFmpeg( $file->getPath(), $dstPath, $thumbTime ); |
| 267 | + $status = $this->runFFmpeg( $file->getLocalRefPath(), $dstPath, $thumbTime ); |
268 | 268 | } |
269 | 269 | if ( $status === true ) { |
270 | 270 | return new OggVideoDisplay( $file, $file->getURL(), $dstUrl, $width, $height, |