From 2dfa548f3645844082c3db65d96d87255701b3ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 27 Oct 2015 18:05:05 +0200 Subject: [PATCH] pad: Append hooks instead of prepending to call them in the order they were added https://bugzilla.gnome.org/show_bug.cgi?id=757197 --- gst/gstpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index 57451a35c6..89212135be 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -1365,7 +1365,7 @@ gst_pad_add_probe (GstPad * pad, GstPadProbeType mask, PROBE_COOKIE (hook) = (pad->priv->probe_cookie - 1); /* add the probe */ - g_hook_prepend (&pad->probes, hook); + g_hook_append (&pad->probes, hook); pad->num_probes++; /* incremenent cookie so that the new hook get's called */ pad->priv->probe_list_cookie++;