tcp: don't use soon-to-be-deprecated g_cancellable_reset()
authorTim-Philipp Müller <tim@centricular.com>
Fri, 24 Oct 2014 16:48:54 +0000 (17:48 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 19 May 2015 17:50:41 +0000 (18:50 +0100)
commit37aa31379f006e577b7a46aabc6246574dad6f98
tree8acf507288fa24b0c88fbf930db52cfde0ad89c1
parent7048ecdc49cf4d2aa2e23bf5051de0cf4077f69d
tcp: 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/tcp/gstmultioutputsink.c
gst/tcp/gstmultisocketsink.c
gst/tcp/gsttcpclientsink.c
gst/tcp/gsttcpclientsrc.c
gst/tcp/gsttcpserversrc.c