udp: don't use soon-to-be-deprecated g_cancellable_reset()
authorTim-Philipp Müller <tim@centricular.com>
Fri, 24 Oct 2014 22:47:21 +0000 (23:47 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 19 May 2015 18:00:20 +0000 (19:00 +0100)
commitf54110fd3e844b0297ccd8ab321669857ee21ed8
tree19db3a3871b0a1e21dd958b632768f92f27e4764
parent168881a186262eac71b5052e34cfbf03dc9e3a51
udp: don't use soon-to-be-deprecated g_cancellable_reset()

From the API documentation: "Note that it is generally not
a good idea to reuse an existing cancellable for more
operations after it has been cancelled once, as this
function might tempt you to do. The recommended practice
is to drop the reference to a cancellable after cancelling
it, and let it die with the outstanding async operations.
You should create a fresh cancellable for further async
operations."

https://bugzilla.gnome.org/show_bug.cgi?id=739132
gst/udp/gstdynudpsink.c
gst/udp/gstmultiudpsink.c
gst/udp/gstudpsrc.c