https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112260
Revision: 112260
Author: aaron
Date: 2012-02-23 23:08:12 +0000 (Thu, 23 Feb 2012)
Log Message:
-----------
Use getLocalRefPath() for shell scripts that need a source file
Modified Paths:
--------------
trunk/extensions/OggHandler/OggHandler_body.php
Modified: trunk/extensions/OggHandler/OggHandler_body.php
===================================================================
--- trunk/extensions/OggHandler/OggHandler_body.php 2012-02-23 23:00:38 UTC
(rev 112259)
+++ trunk/extensions/OggHandler/OggHandler_body.php 2012-02-23 23:08:12 UTC
(rev 112260)
@@ -261,9 +261,9 @@
global $wgOggThumbLocation;
if ( $wgOggThumbLocation !== false ) {
- $status = $this->runOggThumb( $file->getPath(),
$dstPath, $thumbTime );
+ $status = $this->runOggThumb( $file->getLocalRefPath(),
$dstPath, $thumbTime );
} else {
- $status = $this->runFFmpeg( $file->getPath(), $dstPath,
$thumbTime );
+ $status = $this->runFFmpeg( $file->getLocalRefPath(),
$dstPath, $thumbTime );
}
if ( $status === true ) {
return new OggVideoDisplay( $file, $file->getURL(),
$dstUrl, $width, $height,
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs