26 static GType
type = 0;
27 static const gchar *tags[] = {
31 if (g_once_init_enter (&
type)) {
33 const GstMetaInfo *meta_info = gst_meta_get_info (
"GstMetaQuery");
35 _type = meta_info->api;
37 _type = gst_meta_api_type_register (
"GstMetaQueryAPI", tags);
39 g_once_init_leave (&
type, _type);
72 GstBuffer * buffer, GQuark
type, gpointer
data)
89 static const GstMetaInfo *meta_query_info = NULL;
91 if (g_once_init_enter (&meta_query_info)) {
93 "GstMetaQuery",
sizeof *meta,
97 g_once_init_leave (&meta_query_info, meta);
99 return meta_query_info;