Index: trunk/extensions/OggHandler/cortado_0.2.2-89.jar |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Index: trunk/extensions/OggHandler/cortado-ovt-stripped-wm_r36976.jar |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Index: trunk/extensions/OggHandler/cortado-ovt-stripped-wm_r38710.jar |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Index: trunk/extensions/OggHandler/OggHandler.php |
— | — | @@ -87,4 +87,4 @@ |
88 | 88 | // as the uploaded media files or Java security rules will |
89 | 89 | // prevent the applet from loading them. |
90 | 90 | // |
91 | | -$wgCortadoJarFile = "cortado_0.2.2-89.jar"; |
| 91 | +$wgCortadoJarFile = "cortado-ovt-stripped-0.5.0.jar"; |
Index: trunk/extensions/OggHandler/cortado-ovt-stripped-0.5.0.jar |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/OggHandler/cortado-ovt-stripped-0.5.0.jar |
___________________________________________________________________ |
Name: svn:mime-type |
92 | 92 | + application/octet-stream |
Index: trunk/extensions/OggHandler/OggHandler_body.php |
— | — | @@ -503,10 +503,10 @@ |
504 | 504 | $size += $stream['size']; |
505 | 505 | } |
506 | 506 | } |
507 | | - if( $size != 0 ){ |
| 507 | + if( isset( $unpacked['bitrate'] ) ){ |
| 508 | + $bitrate = $unpacked['bitrate']; |
| 509 | + }else{ |
508 | 510 | $bitrate = $length == 0 ? 0 : $size / $length * 8; |
509 | | - }else{ |
510 | | - $bitrate = $unpacked['bitrate']; |
511 | 511 | } |
512 | 512 | return wfMsg( $msg, implode( '/', $streamTypes ), |
513 | 513 | $wgLang->formatTimePeriod( $length ), |