typefind: Run the default have-type handler after all application handlers
authorSebastian Dröge <sebastian@centricular.com>
Tue, 2 Sep 2014 14:40:28 +0000 (17:40 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 13 Apr 2015 07:04:14 +0000 (09:04 +0200)
Otherwise the CAPS event will already be forwarded downstream and
the application has no way to intervene anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=735896

plugins/elements/gsttypefindelement.c

index 6ac9133..afcfb8e 100644 (file)
@@ -219,7 +219,7 @@ gst_type_find_element_class_init (GstTypeFindElementClass * typefind_class)
    * been found.
    */
   gst_type_find_element_signals[HAVE_TYPE] = g_signal_new ("have-type",
-      G_TYPE_FROM_CLASS (typefind_class), G_SIGNAL_RUN_FIRST,
+      G_TYPE_FROM_CLASS (typefind_class), G_SIGNAL_RUN_LAST,
       G_STRUCT_OFFSET (GstTypeFindElementClass, have_type), NULL, NULL,
       g_cclosure_marshal_generic, G_TYPE_NONE, 2,
       G_TYPE_UINT, GST_TYPE_CAPS | G_SIGNAL_TYPE_STATIC_SCOPE);