<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Red and blue colors are swapped in video rendered through WebGL when GSTREAMER_GL is enabled"
href="https://bugs.webkit.org/show_bug.cgi?id=159621">159621</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Red and blue colors are swapped in video rendered through WebGL when GSTREAMER_GL is enabled
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Other
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit Gtk
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>olivier.blin@softathome.com
</td>
</tr>
<tr>
<th>CC</th>
<td>bugs-noreply@webkitgtk.org
</td>
</tr></table>
<p>
<div>
<pre>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:
<a href="http://www.scirra.com/labs/bugs/webglvideo/">http://www.scirra.com/labs/bugs/webglvideo/</a>
<a href="http://www.dailymotion.com/embed/video/x4jiicp?autoplay=1">http://www.dailymotion.com/embed/video/x4jiicp?autoplay=1</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>