https://bugzilla.wikimedia.org/show_bug.cgi?id=49921

Brad Jorsch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch-in-gerrit
                 CC|                            |[email protected]
          Component|API                         |TimedMediaHandler
            Version|unspecified                 |master
           Assignee|[email protected]      |[email protected]
            Product|MediaWiki                   |MediaWiki extensions

--- Comment #1 from Brad Jorsch <[email protected]> ---
There are actually two bugs going on here.

First, TimedMediaHandler isn't normalizing dimensions for audio files, which
means that the height=-1 being passed to indicate "don't limit by height" is
being misinterpreted.

And second, TimedMediaHandler is using an incorrect calculation when the height
is the limiting factor on the thumbnail dimensions, leading to the width of
1913. The same happens if you pass something like
iiurlwidth=220&iiurlheight=10.

Since both of these are in TimedMediaHandler, I'm going to reassign this there.
I'll also submit a patch momentarily.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to