[Webkit-unassigned] [Bug 173410] [GStreamer] fast/canvas/canvas-createPattern-video-loading.html is failing since r218170

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 28 02:13:50 PST 2018


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

--- Comment #4 from Philippe Normand <pnormand at igalia.com> ---
(In reply to Ms2ger from comment #1)
> The test fails because drawImageToCanvasAndCheckPixels only find transparent
> black on the canvas when called from the "playing" callback.
> 
> The issue is that MediaPlayerPrivateGStreamerBase::m_sample is set to
> nullptr in the newly added flushCurrentBuffer() method, called in response
> to a GST_EVENT_FLUSH_START event. The paint() method then returns early
> because GST_IS_SAMPLE(m_sample.get()) is false, and the CanvasPattern ends
> up transparent black.

Yes and because no texture copy is done when flushing the sample. The             m_platformLayerProxy->dropCurrentBufferWhilePreservingTexture() call has no effect, because it's done outside of the texturemapper code path.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180228/ddbc894e/attachment.html>


More information about the webkit-unassigned mailing list