r87391 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87390‎ | r87391 | r87392 >
Date:11:28, 4 May 2011
Author:hartman
Status:ok
Tags:
Comment:
Make sure video sizes are int's.

Follow up to r65927 and fixes bug 28769
Modified paths:
  • /trunk/extensions/OggHandler/OggHandler_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OggHandler/OggHandler_body.php
@@ -114,8 +114,8 @@
115115 $pictureWidth = $pictureWidth * $parNumerator / $parDenominator;
116116 }
117117 return array(
118 - $pictureWidth,
119 - $stream['header']['PICH']
 118+ intval( $pictureWidth ),
 119+ intval( $stream['header']['PICH'] )
120120 );
121121 }
122122 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r87927Forwardport r87391 from OggHandler to TimedMediaHandlerhartman19:58, 12 May 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65927Account for non-square pixel aspect ratios when retrieving the dimensions of ...hartman01:22, 5 May 2010

Status & tagging log