mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
update for metadata tags
This commit is contained in:
parent
7a4a3833c3
commit
1fb46f00ae
1 changed files with 2 additions and 1 deletions
|
@ -49,12 +49,13 @@ const GstMetaInfo *
|
||||||
gst_surface_meta_get_info (void)
|
gst_surface_meta_get_info (void)
|
||||||
{
|
{
|
||||||
static const GstMetaInfo *meta_info = NULL;
|
static const GstMetaInfo *meta_info = NULL;
|
||||||
|
static const gchar *tags[] = { "memory" };
|
||||||
|
|
||||||
if (meta_info == NULL) {
|
if (meta_info == NULL) {
|
||||||
meta_info = gst_meta_register ("GstSurfaceMeta", "GstSurfaceMeta",
|
meta_info = gst_meta_register ("GstSurfaceMeta", "GstSurfaceMeta",
|
||||||
sizeof (GstSurfaceMeta),
|
sizeof (GstSurfaceMeta),
|
||||||
(GstMetaInitFunction) NULL,
|
(GstMetaInitFunction) NULL,
|
||||||
(GstMetaFreeFunction) NULL, (GstMetaTransformFunction) NULL);
|
(GstMetaFreeFunction) NULL, (GstMetaTransformFunction) NULL, tags);
|
||||||
}
|
}
|
||||||
return meta_info;
|
return meta_info;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue