summaryrefslogtreecommitdiff
path: root/sys/shm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/shm')
-rw-r--r--sys/shm/gstshmsink.c2
-rw-r--r--sys/shm/gstshmsrc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/shm/gstshmsink.c b/sys/shm/gstshmsink.c
index 1711e8ea9..d760bc56d 100644
--- a/sys/shm/gstshmsink.c
+++ b/sys/shm/gstshmsink.c
@@ -176,7 +176,7 @@ gst_shm_sink_class_init (GstShmSinkClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sinktemplate));
- gst_element_class_set_metadata (gstelement_class,
+ gst_element_class_set_static_metadata (gstelement_class,
"Shared Memory Sink",
"Sink",
"Send data over shared memory to the matching source",
diff --git a/sys/shm/gstshmsrc.c b/sys/shm/gstshmsrc.c
index 1c9049183..ec6838d81 100644
--- a/sys/shm/gstshmsrc.c
+++ b/sys/shm/gstshmsrc.c
@@ -134,7 +134,7 @@ gst_shm_src_class_init (GstShmSrcClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&srctemplate));
- gst_element_class_set_metadata (gstelement_class,
+ gst_element_class_set_static_metadata (gstelement_class,
"Shared Memory Source",
"Source",
"Receive data from the shared memory sink",