summaryrefslogtreecommitdiff
path: root/ext/zbar/gstzbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zbar/gstzbar.c')
-rw-r--r--ext/zbar/gstzbar.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/ext/zbar/gstzbar.c b/ext/zbar/gstzbar.c
index ce7e0e39a..d1d316827 100644
--- a/ext/zbar/gstzbar.c
+++ b/ext/zbar/gstzbar.c
@@ -106,12 +106,6 @@ enum
#define DEFAULT_PROP_ZBAR 1
-static const GstElementDetails zbar_details =
-GST_ELEMENT_DETAILS ("Barcode detector",
- "Filter/Analyzer/Video",
- "Detect bar codes in the video streams",
- "Stefan Kost <ensonic@users.sf.net>");
-
static GstStaticPadTemplate gst_zbar_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
@@ -147,7 +141,10 @@ gst_zbar_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &zbar_details);
+ gst_element_class_set_details_simple (element_class, "Barcode detector",
+ "Filter/Analyzer/Video",
+ "Detect bar codes in the video streams",
+ "Stefan Kost <ensonic@users.sf.net>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_zbar_sink_template));