XError caused by ximagesink or xvimagesink

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

XError caused by ximagesink or xvimagesink

Ali Abdallah-2
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: XError caused by ximagesink or xvimagesink

Jens Persson-2
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 <[hidden email]> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: XError caused by ximagesink or xvimagesink

Ali Abdallah-2
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 <[hidden email]> 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
[hidden email]
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 [hidden email] 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel