gst/gstbus.c: gst_bus_poll may be called from other threads. Handle this nicely by...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 29 Jul 2005 15:34:52 +0000 (15:34 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 29 Jul 2005 15:34:52 +0000 (15:34 +0000)
commit9b1b3593e063344fc9b3ead45108b41a3dec1b8b
treed3e36c65ce8269018d49137edffb71a87e9d6b92
parente3b39f23205a0987a1547ddead38d36b98278004
gst/gstbus.c: gst_bus_poll may be called from other threads. Handle this nicely by not making poll_data disappear off...

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
(gst_bus_peek), (gst_bus_source_dispatch),
(gst_bus_add_watch_full), (poll_handler), (poll_timeout),
(poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
gst_bus_poll may be called from other threads. Handle
this nicely by not making poll_data disappear off the
stack once gst_bus_poll returns.
gst_bus_peek now increments the refcount on the returned
message.
ChangeLog
gst/gstbus.c