Index: trunk/extensions/TimedMediaHandler/TimedMediaTransformOutput.php |
— | — | @@ -197,8 +197,8 @@ |
198 | 198 | // The poster url: |
199 | 199 | $posterUrl = $this->getUrl(); |
200 | 200 | |
201 | | - // Update the $posterUrl to $sizeOverride |
202 | | - if( $sizeOverride && $sizeOverride[0] && intval( $sizeOverride[0] ) != intval( $this->width ) ){ |
| 201 | + // Update the $posterUrl to $sizeOverride ( if not an old file ) |
| 202 | + if( !$this->file->isOld() && $sizeOverride && $sizeOverride[0] && intval( $sizeOverride[0] ) != intval( $this->width ) ){ |
203 | 203 | $apiUrl = $this->getPosterFromApi( $sizeOverride[0] ); |
204 | 204 | if( $apiUrl ){ |
205 | 205 | $posterUrl = $apiUrl; |
Index: trunk/extensions/TimedMediaHandler/WebVideoTranscode/WebVideoTranscode.php |
— | — | @@ -286,6 +286,11 @@ |
287 | 287 | return $sources; |
288 | 288 | } |
289 | 289 | |
| 290 | + // If an "oldFile" don't look for other sources: |
| 291 | + if( $file->isOld() ){ |
| 292 | + return $sources; |
| 293 | + } |
| 294 | + |
290 | 295 | // Just directly return audio sources ( No transcoding for audio for now ) |
291 | 296 | if( $file->getHandler()->isAudio( $file ) ){ |
292 | 297 | return $sources; |