bin: Don't special-case G_SIGNAL_RUN_CLEANUP stage in latency signal accumulator

This signal don't run the class handler in the CLEANUP stage.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/776>
This commit is contained in:
Sebastian Dröge 2021-03-19 10:33:13 +02:00 committed by GStreamer Marge Bot
parent d7d12f6aaa
commit 96a5000210

View 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);