Use ffmpegcolorspace between caps filter and ximagesink. <br><br><br><div class="gmail_quote">On Wed, Sep 1, 2010 at 1:34 PM, Julien Isorce <span dir="ltr">&lt;<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<div><br></div><div>If my X11 settings are 32 bpp then an annoying thing is that running &quot;gst-launch-0.10 videotestsrc ! &quot;video/x-raw-rgb, bpp=16, depth=16&quot; ! ximagesink&quot; gives me an error from videotestsrc but I think the error should come from ximagesink.</div>

<div><br></div><div>In ximagesink::gst_ximagesink_getcaps, the xcontext-&gt;caps is setup to bpp=32 and depth=24, so I think at this point it should check that this is not compatible with the required caps from my capfilter.</div>

<div><br></div><div>The error is:</div><div>&quot;videotestsrc0 : Could not negotiate format&quot; </div><div>and I think it should be:</div><div>&quot;ximagesink0 : Could not negotiate format&quot;</div><div><br></div><div>

Any comment ?</div><div><br></div><div>Sincerely</div><div>Julien</div><font color="#888888"><div> </div>
</font><br>------------------------------------------------------------------------------<br>
This SF.net Dev2Dev email is sponsored by:<br>
<br>
Show off your parallel programming skills.<br>
Enter the Intel(R) Threading Challenge 2010.<br>
<a href="http://p.sf.net/sfu/intel-thread-sfd" target="_blank">http://p.sf.net/sfu/intel-thread-sfd</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>