udp: don't use soon-to-be-deprecated g_cancellable_reset()
[platform/upstream/gst-plugins-good.git] / gst / udp / gstmultiudpsink.c
index 2f1a8ec..0b2b9dd 100644 (file)
@@ -1845,7 +1845,8 @@ gst_multiudpsink_unlock_stop (GstBaseSink * bsink)
 
   sink = GST_MULTIUDPSINK (bsink);
 
-  g_cancellable_reset (sink->cancellable);
+  g_object_unref (sink->cancellable);
+  sink->cancellable = g_cancellable_new ();
 
   return TRUE;
 }