All these signals don't run the class handler in the CLEANUP stage.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1076>
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);
/* stop emission if FALSE */
return myboolean;
myboolean = g_value_get_boolean (handler_return);
retboolean = g_value_get_boolean (return_accu);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_boolean (return_accu, myboolean || retboolean);
+ g_value_set_boolean (return_accu, myboolean || retboolean);
return TRUE;
}
gpointer array;
array = g_value_get_boxed (handler_return);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_boxed (return_accu, array);
+ g_value_set_boxed (return_accu, array);
return FALSE;
}
GstAutoplugSelectResult res;
res = g_value_get_enum (handler_return);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_enum (return_accu, res);
+ g_value_set_enum (return_accu, res);
/* Call the next handler in the chain (if any) when the current callback
* returns TRY. This makes it possible to register separate autoplug-select
gpointer array;
array = g_value_get_boxed (handler_return);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_boxed (return_accu, array);
+ g_value_set_boxed (return_accu, array);
if (array != NULL)
return FALSE;
{
gint res = g_value_get_int (handler_return);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_int (return_accu, res);
+ g_value_set_int (return_accu, res);
if (res == -1)
return TRUE;
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);
/* stop emission if FALSE */
return myboolean;
myboolean = g_value_get_boolean (handler_return);
retboolean = g_value_get_boolean (return_accu);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_boolean (return_accu, myboolean || retboolean);
+ g_value_set_boolean (return_accu, myboolean || retboolean);
return TRUE;
}
gpointer array;
array = g_value_get_boxed (handler_return);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_boxed (return_accu, array);
+ g_value_set_boxed (return_accu, array);
return FALSE;
}
GstAutoplugSelectResult res;
res = g_value_get_enum (handler_return);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_enum (return_accu, res);
+ g_value_set_enum (return_accu, res);
/* Call the next handler in the chain (if any) when the current callback
* returns TRY. This makes it possible to register separate autoplug-select
gpointer array;
array = g_value_get_boxed (handler_return);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_boxed (return_accu, array);
+ g_value_set_boxed (return_accu, array);
if (array != NULL)
return FALSE;
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);
/* stop emission if FALSE */
return myboolean;
myboolean = g_value_get_boolean (handler_return);
retboolean = g_value_get_boolean (return_accu);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_boolean (return_accu, myboolean || retboolean);
+ g_value_set_boolean (return_accu, myboolean || retboolean);
return TRUE;
}
gpointer array;
array = g_value_get_boxed (handler_return);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_boxed (return_accu, array);
+ g_value_set_boxed (return_accu, array);
return FALSE;
}
GstAutoplugSelectResult res;
res = g_value_get_enum (handler_return);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_enum (return_accu, res);
+ g_value_set_enum (return_accu, res);
/* Call the next handler in the chain (if any) when the current callback
* returns TRY. This makes it possible to register separate autoplug-select
gpointer array;
array = g_value_get_boxed (handler_return);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_boxed (return_accu, array);
+ g_value_set_boxed (return_accu, array);
if (array != NULL)
return FALSE;
{
gint res = g_value_get_int (handler_return);
- if (!(ihint->run_type & G_SIGNAL_RUN_CLEANUP))
- g_value_set_int (return_accu, res);
+ g_value_set_int (return_accu, res);
if (res == -1)
return TRUE;