diff options
Diffstat (limited to 'ext/rsvg/gstrsvg.c')
-rw-r--r-- | ext/rsvg/gstrsvg.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ext/rsvg/gstrsvg.c b/ext/rsvg/gstrsvg.c index a7c600694..1318e7098 100644 --- a/ext/rsvg/gstrsvg.c +++ b/ext/rsvg/gstrsvg.c @@ -1,5 +1,6 @@ /* GStreamer * Copyright (C) <2009> Sebastian Dröge <sebastian.droege@collabora.co.uk> + * (C) 2010 Olivier Aubert <olivier.aubert@liris.cnrs.fr> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -23,17 +24,18 @@ #include <gst/gst.h> #include "gstrsvgdec.h" +#include "gstrsvgoverlay.h" static gboolean plugin_init (GstPlugin * plugin) { rsvg_init (); - if (!gst_element_register (plugin, "rsvgdec", GST_RANK_PRIMARY, - GST_TYPE_RSVG_DEC)) - return FALSE; - - return TRUE; + return (gst_element_register (plugin, "rsvgoverlay", + GST_RANK_NONE, GST_TYPE_RSVG_OVERLAY) + && + gst_element_register (plugin, "rsvgdec", GST_RANK_PRIMARY, + GST_TYPE_RSVG_DEC)); } GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, |