diff --git a/gst/gstinterface.c b/gst/gstinterface.c index d91d605d22..fe099e9a7d 100644 --- a/gst/gstinterface.c +++ b/gst/gstinterface.c @@ -54,6 +54,9 @@ gst_interface_get_type (void) gst_interface_type = g_type_register_static (G_TYPE_INTERFACE, "GstInterface", &gst_interface_info, 0); + + g_type_interface_add_prerequisite (gst_interface_type, + GST_TYPE_ELEMENT); } return gst_interface_type;