summaryrefslogtreecommitdiff
path: root/sys/uvch264
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-09-14 17:08:49 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-09-14 17:27:49 +0200
commit578861abeab76704b98d377f69e136f8431dc4ab (patch)
tree56acc109a822cc72f9709d30e99c049501ac5404 /sys/uvch264
parentf2191d403c47dda65836e72686a94a94f2dcc0bc (diff)
downloadgstreamer-plugins-bad-578861abeab76704b98d377f69e136f8431dc4ab.tar.gz
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
Diffstat (limited to 'sys/uvch264')
-rw-r--r--sys/uvch264/gstuvch264_mjpgdemux.c2
-rw-r--r--sys/uvch264/gstuvch264_src.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvch264/gstuvch264_mjpgdemux.c b/sys/uvch264/gstuvch264_mjpgdemux.c
index 4bc689981..880b44918 100644
--- a/sys/uvch264/gstuvch264_mjpgdemux.c
+++ b/sys/uvch264/gstuvch264_mjpgdemux.c
@@ -200,7 +200,7 @@ gst_uvc_h264_mjpg_demux_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, pt);
gst_object_unref (pt);
- gst_element_class_set_details_simple (element_class,
+ gst_element_class_set_metadata (element_class,
"UVC H264 MJPG Demuxer",
"Video/Demuxer",
"Demux UVC H264 auxiliary streams from MJPG images",
diff --git a/sys/uvch264/gstuvch264_src.c b/sys/uvch264/gstuvch264_src.c
index 26b50b088..ac99768dd 100644
--- a/sys/uvch264/gstuvch264_src.c
+++ b/sys/uvch264/gstuvch264_src.c
@@ -273,7 +273,7 @@ gst_uvc_h264_src_base_init (gpointer g_class)
GST_DEBUG_CATEGORY_INIT (uvc_h264_src_debug, "uvch264_src",
0, "UVC H264 Compliant camera bin source");
- gst_element_class_set_details_simple (gstelement_class,
+ gst_element_class_set_metadata (gstelement_class,
"UVC H264 Source",
"Source/Video",
"UVC H264 Encoding camera source",