summaryrefslogtreecommitdiff
path: root/gst/overlay
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 /gst/overlay
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/overlay')
-rw-r--r--gst/overlay/gstoverlay.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/gst/overlay/gstoverlay.c b/gst/overlay/gstoverlay.c
index 2c6345a97..c900a6bd9 100644
--- a/gst/overlay/gstoverlay.c
+++ b/gst/overlay/gstoverlay.c
@@ -24,13 +24,6 @@
#include "gstoverlay.h"
#include <gst/video/video.h>
-/* elementfactory information */
-static const GstElementDetails overlay_details =
-GST_ELEMENT_DETAILS ("Video overlay",
- "Filter/Editor/Video",
- "Overlay multiple video streams",
- "David Schleef <ds@schleef.org>");
-
static GstStaticPadTemplate overlay_src_factory =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
@@ -125,7 +118,9 @@ gst_overlay_base_init (GstOverlayClass * klass)
gst_static_pad_template_get (&overlay_sink3_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&overlay_src_factory));
- gst_element_class_set_details (element_class, &overlay_details);
+ gst_element_class_set_details_simple (element_class, "Video overlay",
+ "Filter/Editor/Video",
+ "Overlay multiple video streams", "David Schleef <ds@schleef.org>");
}
static void