diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-18 17:30:26 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-03-18 22:46:41 +0100 |
commit | 775c7584fdad53053ae5b22bb19074cc6022ee98 (patch) | |
tree | 149c7daf4efd3ecaf17a179949e20b44347859ab /ext/zbar/gstzbar.c | |
parent | 5258d372be503da09fa21fbde28afe619bc0cdc1 (diff) |
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'ext/zbar/gstzbar.c')
-rw-r--r-- | ext/zbar/gstzbar.c | 11 |
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)); |