summaryrefslogtreecommitdiff
path: root/sys/osxvideo
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 17:30:26 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-18 22:46:41 +0100
commit775c7584fdad53053ae5b22bb19074cc6022ee98 (patch)
tree149c7daf4efd3ecaf17a179949e20b44347859ab /sys/osxvideo
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'sys/osxvideo')
-rw-r--r--sys/osxvideo/osxvideosrc.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/osxvideo/osxvideosrc.c b/sys/osxvideo/osxvideosrc.c
index f70fb588a..83a92cded 100644
--- a/sys/osxvideo/osxvideosrc.c
+++ b/sys/osxvideo/osxvideosrc.c
@@ -634,13 +634,6 @@ gst_osx_video_src_init_interfaces (GType type)
static void
gst_osx_video_src_base_init (gpointer gclass)
{
- static GstElementDetails element_details = {
- "Video Source (OSX)",
- "Source/Video",
- "Reads raw frames from a capture device on OS X",
- "Ole Andre Vadla Ravnaas <ole.andre.ravnas@tandberg.com>, "
- "Ali Sabil <ali.sabil@tandberg.com>"
- };
GstElementClass *element_class = GST_ELEMENT_CLASS (gclass);
@@ -649,7 +642,11 @@ gst_osx_video_src_base_init (gpointer gclass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
- gst_element_class_set_details (element_class, &element_details);
+ gst_element_class_set_details_simple (element_class, "Video Source (OSX)",
+ "Source/Video",
+ "Reads raw frames from a capture device on OS X",
+ "Ole Andre Vadla Ravnaas <ole.andre.ravnas@tandberg.com>, "
+ "Ali Sabil <ali.sabil@tandberg.com>");
}
static void