summaryrefslogtreecommitdiff
path: root/gst/bayer
diff options
context:
space:
mode:
Diffstat (limited to 'gst/bayer')
-rw-r--r--gst/bayer/gstbayer2rgb.c2
-rw-r--r--gst/bayer/gstrgb2bayer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/bayer/gstbayer2rgb.c b/gst/bayer/gstbayer2rgb.c
index 35a3e7263..53417733d 100644
--- a/gst/bayer/gstbayer2rgb.c
+++ b/gst/bayer/gstbayer2rgb.c
@@ -169,7 +169,7 @@ gst_bayer2rgb_class_init (GstBayer2RGBClass * klass)
gobject_class->set_property = gst_bayer2rgb_set_property;
gobject_class->get_property = gst_bayer2rgb_get_property;
- gst_element_class_set_metadata (gstelement_class,
+ gst_element_class_set_static_metadata (gstelement_class,
"Bayer to RGB decoder for cameras", "Filter/Converter/Video",
"Converts video/x-bayer to video/x-raw",
"William Brack <wbrack@mmm.com.hk>");
diff --git a/gst/bayer/gstrgb2bayer.c b/gst/bayer/gstrgb2bayer.c
index 6810069a2..4cb330315 100644
--- a/gst/bayer/gstrgb2bayer.c
+++ b/gst/bayer/gstrgb2bayer.c
@@ -92,7 +92,7 @@ gst_rgb2bayer_class_init (GstRGB2BayerClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rgb2bayer_sink_template));
- gst_element_class_set_metadata (element_class,
+ gst_element_class_set_static_metadata (element_class,
"RGB to Bayer converter",
"Filter/Converter/Video",
"Converts video/x-raw to video/x-bayer",