<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763">Hi Sebastian,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763">Thank you a lot.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763">Best Regards,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763">Hamdi</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 22, 2015 at 2:49 PM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Di, 2015-04-21 at 12:27 +0100, Hamdi Rakkez wrote:<br>
> Hi everyone,<br>
><br>
</span>> Is it possible to force gstreamer-1.0 to interpret the *video/x-bayer* as a<br>
> *video/x-raw-gray*.<br>
<br>
Yes, you can use the capssetter element to override caps. If that works<br>
or not depends of course if the caps would be correct for the actual<br>
buffer content, and elements don't read more/less data than they should.<br>
<br>
I.e. for bayer->gray8 you would have to set twice the width IIRC.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>