summaryrefslogtreecommitdiff
path: root/ext/openexr/gstopenexr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openexr/gstopenexr.c')
-rw-r--r--ext/openexr/gstopenexr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/openexr/gstopenexr.c b/ext/openexr/gstopenexr.c
index 7961b94bf..5365b479c 100644
--- a/ext/openexr/gstopenexr.c
+++ b/ext/openexr/gstopenexr.c
@@ -29,11 +29,9 @@
static gboolean
plugin_init (GstPlugin * plugin)
{
- if (!gst_element_register (plugin, "openexrdec", GST_RANK_PRIMARY,
- GST_TYPE_OPENEXR_DEC))
- return FALSE;
- return TRUE;
+
+ return GST_ELEMENT_REGISTER (openexrdec, plugin);;
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,