[gstreamer-bugs] [Bug 562170] GstBus watch doesn't work with non-default main context
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sat Jan 17 13:06:46 PST 2009
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=562170
GStreamer | gstreamer (core) | Ver: 0.10.21
Tim-Philipp Müller changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #126601|accepted-commit_now |committed
Flag| |
AssignedTo|t.i.m at zen.co.uk |gstreamer-
| |bugs at lists.sourceforge.net
Status|NEW |RESOLVED
Resolution| |FIXED
------- Comment #11 from Tim-Philipp Müller 2009-01-17 21:06 UTC -------
Committed, thanks! (And thanks for the test case Justin!)
2009-01-17 Tim-Philipp Müller <tim.muller at collabora co uk>
* gst/gstbus.c: (gst_bus_set_main_context), (gst_bus_create_watch):
Fix order of members in GstBusSource structure - the first member
must be the parent structure ie. GSource. Should make bus sources
attached to non-default main contexts work in all cases now (ie.
primarily in cases where the callback has a non-NULL user data
argument). Fixes #562170.
* tests/check/gst/gstbus.c: (test_custom_main_context):
Add unit test for the above, based on code by
Justin Karneges <justin at affinix com>.
--
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=562170.
More information about the Gstreamer-bugs
mailing list