mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
tests: fix unit test
This commit is contained in:
parent
166cfadb71
commit
549347f81c
1 changed files with 2 additions and 1 deletions
|
@ -116,13 +116,14 @@ static const GstMetaInfo *
|
||||||
gst_meta_test_get_info (void)
|
gst_meta_test_get_info (void)
|
||||||
{
|
{
|
||||||
static const GstMetaInfo *meta_test_info = NULL;
|
static const GstMetaInfo *meta_test_info = NULL;
|
||||||
|
static const gchar *tags[] = { "timing", NULL };
|
||||||
|
|
||||||
if (meta_test_info == NULL) {
|
if (meta_test_info == NULL) {
|
||||||
meta_test_info = gst_meta_register ("GstMetaTest", "GstMetaTest",
|
meta_test_info = gst_meta_register ("GstMetaTest", "GstMetaTest",
|
||||||
sizeof (GstMetaTest),
|
sizeof (GstMetaTest),
|
||||||
(GstMetaInitFunction) test_init_func,
|
(GstMetaInitFunction) test_init_func,
|
||||||
(GstMetaFreeFunction) test_free_func,
|
(GstMetaFreeFunction) test_free_func,
|
||||||
(GstMetaTransformFunction) test_transform_func);
|
(GstMetaTransformFunction) test_transform_func, tags);
|
||||||
}
|
}
|
||||||
return meta_test_info;
|
return meta_test_info;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue