Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GStreamer] fast/canvas/canvas-createPattern-video-loading.html is fa…
…iling since r218170 https://bugs.webkit.org/show_bug.cgi?id=173410 Patch by Philippe Normand <firstname.lastname@example.org> on 2021-04-09 Reviewed by Xabier Rodriguez-Calvar. Source/WebCore: When a flush has been requested by the GL video sink, allocate a new copy of the sample which has to be released. The copy is necessary so that the video dimensions can still be fetched and also for canvas rendering. The release is necessary because the sample might have been allocated by a hardware decoder and memory might have to be reclaimed by a non-sysmem buffer pool. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::flushCurrentBuffer): (WebCore::MediaPlayerPrivateGStreamer::paint): LayoutTests: * platform/gtk/TestExpectations: Unflag now-passing test. Canonical link: https://commits.webkit.org/236333@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 4 changed files with 33 additions and 6 deletions.