<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">---------- Forwarded message ----------<br>From: &quot;Zhao, Halley&quot; &lt;<a href="mailto:halley.zhao@intel.com" target="_blank">halley.zhao@intel.com</a>&gt;<br>

To: &quot;<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>&quot; &lt;<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>&gt;<br>

Date: Tue, 26 Apr 2011 14:48:47 +0800<br>Subject: xvimagesink try to create window of its own before gst_xvimagesink_set_xwindow_id is done<br>












<p class="MsoNormal">I found one issue that, </p>

<p class="MsoNormal">after vaimagesink throw out the msg of ‘prepare-xwindow-id’,
gst_xvimagesink_setcaps will run into gst_xvimagesink_xwindow_new() when , gst_xvimagesink_set_xwindow_id()
is still on the way.</p>

<p class="MsoNormal">I think it is caused by gst_xvimagesink_set_xwindow_id is
called from UI thread in async. Is it a bug of xvimagesink, or I have done
something wrong?</p></blockquote><div><br>Have you taken a look at the samples in the Xoverlay interface docs?  They are IMHO not particularly easy to find, but the samples got me going.<br> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstxoverlay.html#GstXOverlay" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstxoverlay.html#GstXOverlay</a><br>

<br></div>