This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GStreamer] Use imxvideoconvert_g2d element inside the sink when avai…
…lable https://bugs.webkit.org/show_bug.cgi?id=223693 Patch by Zan Dobersek <email@example.com> on 2021-03-24 Reviewed by Philippe Normand. On some iMX platforms we require the use of imxvideoconvert_g2d element in order to properly convert the visual buffers before they can be rendered through our pipeline. We expect to require this buffer if it's present in the GStreamer plugin registry on the system. We search for this element and, if found, add it to the sink and position it at the beginning, before the glupload element. Based on an approach outlined by Gabriel Valcazar. * platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp: (webKitGLVideoSinkConstructed): Canonical link: https://commits.webkit.org/235700@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 40 additions and 1 deletion.