[Webkit-unassigned] [Bug 170333] REGRESSION(r213764): [GTK] PNG animations are not played properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 3 12:36:43 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170333

--- Comment #3 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
(In reply to Said Abou-Hallawa from comment #2)
> The animation issue happens because in PNGImageDecoder.h, the implementation
> of repetitionCount() is the following:
> 
> RepetitionCount repetitionCount() const override { return m_playCount-1; }
> 
> Since I changed the definition of RepetitionCount enum values, this function
> should like this:
> 
> RepetitionCount repetitionCount() const override { return m_playCount ?
> m_playCount : RepetitionCountInfinite; }

I tested this, and it is not fixing the problem.
The playback of the image is still weird.

I think this is better explained with a video than with words.

This is what I see (on the WebKitGTK+ MiniBrowser with a build from trunk at r214787) :

video [mp4]  : https://people.igalia.com/clopez/wkbug/170333/elephant_bug.mp4
video [webm] : https://people.igalia.com/clopez/wkbug/170333/elephant_bug.webm


An I see the same after the suggested fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170403/14e4197a/attachment-0001.html>


More information about the webkit-unassigned mailing list