static GstStructure * get_element_entry (const gchar * element_name) { GstStructure *element; if (!gst_structure_get ((GstStructure *) element_table, element_name, GST_TYPE_STRUCTURE, &element, NULL)) { element = NULL; }
/* This assert should never fail, because plugin elements are registered * based on the entries in this table. Someone would have to manually * override the type qdata for this to fail. */ g_assert (element);
return element; }