Hi Ali!<br><br>You&#39;re not saying which GUI toolkit you&#39;re using but I&#39;ve noticed that in the latest version of GTK you&#39;ll need to use the GDK threads_enter() and threads_leave() functions in the sync-message-emission callback method where you set which window to use.<br>
<br>Greets Jens<br><br><div class="gmail_quote">On Tue, Feb 2, 2010 at 11:49 AM, Ali Abdallah <span dir="ltr">&lt;<a href="mailto:aliov@xfce.org">aliov@xfce.org</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,<br>
<br>
I have an application that uses playbin to play audio files, the<br>
application switches between audio files by setting playbin to ready<br>
state then setting the new uri and bring the playbin to play state<br>
again, while this seems to work, i have an XError problem raised only on<br>
a 64 bit machine with ATI vga, and if visualization are enabled.<br>
<br>
Using xvimagesink or ximagesink, the error is raised at the same call:<br>
<br>
XSync (ximagesink-&gt;xcontext-&gt;disp, FALSE);<br>
<br>
ximagesink, line 964<br>
xvimagesink, line 864<br>
<br>
The error was &#39;BadGC (invalid GC parameter)&#39;.<br>
   (Details: serial 43 error_code 13 request_code 132 minor_code 19)<br>
<br>
<br>
Any hint will be appreciated.<br>
<br>
Best Regards.<br>
<br>
------------------------------------------------------------------------------<br>
The Planet: dedicated and managed hosting, cloud storage, colocation<br>
Stay online with enterprise data centers and the best network in the business<br>
Choose flexible plans and management services without long-term contracts<br>
Personal 24x7 support from experience hosting pros just a phone call away.<br>
<a href="http://p.sf.net/sfu/theplanet-com" target="_blank">http://p.sf.net/sfu/theplanet-com</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>
</blockquote></div><br>