diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-10-27 18:05:05 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-10-28 13:02:04 +0200 |
commit | 2dfa548f3645844082c3db65d96d87255701b3ad (patch) | |
tree | 5910ed7f02c57ad0506be7a7be605321b9a40c42 | |
parent | 85b93fa347262b6d7384e577664a658fe8854c88 (diff) |
pad: Append hooks instead of prepending to call them in the order they were added
https://bugzilla.gnome.org/show_bug.cgi?id=757197
-rw-r--r-- | gst/gstpad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstpad.c b/gst/gstpad.c index 57451a35c..89212135b 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++; |