[gstreamer-bugs] [Bug 534304] x(v)imagesink resets the window id when state changes from READY to NULL

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri May 23 04:02:53 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=534304

  GStreamer | gst-plugins-base | Ver: 0.10.19




------- Comment #3 from Jan Schmidt  2008-05-23 11:02 UTC -------
Ah right. You'll always have that trouble attempting to use the messages from
XOverlay in the main thread. You need to use a sync_handler on the bus to catch
the message in the thread it's being sent in - so that you can set the XID
without racing.

There's an example in
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstxoverlay.html

That method works for Qt apps equally well - you just have to watch the thread
safety issues implicit in passing the XID to a background thread.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=534304.




More information about the Gstreamer-bugs mailing list