When a video is rendered through WebGL, and GSTREAMER_GL is enabled, red and blue colors are swapped. This occurs for example with the following videos: http://www.scirra.com/labs/bugs/webglvideo/ http://www.dailymotion.com/embed/video/x4jiicp?autoplay=1 This seems to be because ImageGStreamerCairo expects video frames in either BGRA or ARGB, while when GSTREAMER_GL is enabled, createVideoSinkGL() forces a RGBA format. Without GSTREAMER_GL, the rendering is fine since VideoSinkGStreamer uses either BGRA or ARGB.
Created attachment 283315 [details] Patch
This patch fixes the issue for me, but I am not sure if this can cause performance regression.
Comment on attachment 283315 [details] Patch Clearing flags on attachment: 283315 Committed r203059: <http://trac.webkit.org/changeset/203059>
All reviewed patches have been landed. Closing bug.
Reopening to attach new patch.
Created attachment 283318 [details] Patch
What does this patch have to do with this bug? :)
Comment on attachment 283318 [details] Patch Wrong bug, sorry
Re-opened since this is blocked by bug 159673
Fixed now that GPU-GPU WebGL video integration has landed, see bug 159928