bin: Don't special-case G_SIGNAL_RUN_CLEANUP stage in latency signal accumulator
authorSebastian Dröge <sebastian@centricular.com>
Fri, 19 Mar 2021 08:33:13 +0000 (10:33 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 26 Mar 2021 14:12:03 +0000 (14:12 +0000)
This signal don't run the class handler in the CLEANUP stage.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/776>

gst/gstbin.c

index 2e63722..5a536c7 100644 (file)
@@ -326,8 +326,7 @@ _gst_boolean_accumulator (GSignalInvocationHint * ihint,
   gboolean myboolean;
 
   myboolean = g_value_get_boolean (handler_return);
-  if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
-    g_value_set_boolean (return_accu, myboolean);
+  g_value_set_boolean (return_accu, myboolean);
 
   GST_DEBUG ("invocation %d, %d", ihint->run_type, myboolean);