[gst-devel] XError caused by ximagesink or xvimagesink

Ali Abdallah aliov at xfce.org
Wed Feb 3 10:36:29 CET 2010


Hi Jens,

Yes i'm using gtk, i added threads_enter() and threads_leave() in the 
function that sets the gst_x_overlay, still the same problem.

Any Help! i'm really stuck in this problem.

Thanks a lot,

Best Regards,
Ali.


On 02/02/2010 07:34 PM, Jens Persson wrote:
> Hi Ali!
>
> You're not saying which GUI toolkit you're using but I've noticed that 
> in the latest version of GTK you'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.
>
> Greets Jens
>
> On Tue, Feb 2, 2010 at 11:49 AM, Ali Abdallah <aliov at xfce.org 
> <mailto:aliov at xfce.org>> wrote:
>
>     Hi,
>
>     I have an application that uses playbin to play audio files, the
>     application switches between audio files by setting playbin to ready
>     state then setting the new uri and bring the playbin to play state
>     again, while this seems to work, i have an XError problem raised
>     only on
>     a 64 bit machine with ATI vga, and if visualization are enabled.
>
>     Using xvimagesink or ximagesink, the error is raised at the same call:
>
>     XSync (ximagesink->xcontext->disp, FALSE);
>
>     ximagesink, line 964
>     xvimagesink, line 864
>
>     The error was 'BadGC (invalid GC parameter)'.
>       (Details: serial 43 error_code 13 request_code 132 minor_code 19)
>
>
>     Any hint will be appreciated.
>
>     Best Regards.
>
>     ------------------------------------------------------------------------------
>     The Planet: dedicated and managed hosting, cloud storage, colocation
>     Stay online with enterprise data centers and the best network in
>     the business
>     Choose flexible plans and management services without long-term
>     contracts
>     Personal 24x7 support from experience hosting pros just a phone
>     call away.
>     http://p.sf.net/sfu/theplanet-com
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.sourceforge.net
>     <mailto:gstreamer-devel at lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100203/b772b58b/attachment.htm>


More information about the gstreamer-devel mailing list