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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zbar/gstzbar.c b/ext/zbar/gstzbar.c
index c0310349d..230b670cc 100644
--- a/ext/zbar/gstzbar.c
+++ b/ext/zbar/gstzbar.c
@@ -373,8 +373,8 @@ plugin_init (GstPlugin * plugin)
return gst_element_register (plugin, "zbar", GST_RANK_NONE, GST_TYPE_ZBAR);
}
-GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+GST_PLUGIN_DEFINE2 (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
- "zbar",
+ zbar,
"zbar barcode scanner",
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);