summaryrefslogtreecommitdiff
path: root/sys/dshowsrcwrapper
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/dshowsrcwrapper
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/dshowsrcwrapper')
-rw-r--r--sys/dshowsrcwrapper/gstdshowaudiosrc.cpp2
-rw-r--r--sys/dshowsrcwrapper/gstdshowvideosrc.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp b/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp
index e7fbadaab..6d4f15c70 100644
--- a/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp
+++ b/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp
@@ -121,7 +121,7 @@ gst_dshowaudiosrc_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
- gst_element_class_set_details_simple (element_class,
+ gst_element_class_set_metadata (element_class,
"Directshow audio capture source", "Source/Audio",
"Receive data from a directshow audio capture graph",
"Sebastien Moutte <sebastien@moutte.net>");
diff --git a/sys/dshowsrcwrapper/gstdshowvideosrc.cpp b/sys/dshowsrcwrapper/gstdshowvideosrc.cpp
index 35d01ba0f..872932394 100644
--- a/sys/dshowsrcwrapper/gstdshowvideosrc.cpp
+++ b/sys/dshowsrcwrapper/gstdshowvideosrc.cpp
@@ -129,7 +129,7 @@ gst_dshowvideosrc_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
- gst_element_class_set_details_simple (element_class,
+ gst_element_class_set_metadata (element_class,
"DirectShow video capture source", "Source/Video",
"Receive data from a directshow video capture graph",
"Sebastien Moutte <sebastien@moutte.net>");