summaryrefslogtreecommitdiffstats
path: root/ext/cairo/gstcairo.c
diff options
context:
space:
mode:
authorLutz Mueller <lutz@topfrose.de>2009-07-16 21:27:45 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-07-16 21:27:45 +0200
commit596f53c84a2cb49514f955be183e3606563b183f (patch)
tree2607e9b7849b2c9a0faee56da552ae7e376aa6b2 /ext/cairo/gstcairo.c
parent598e0c8cc63ab80a63db68767ca7ff7141c5b307 (diff)
cairo: Add cairo-based PDF/PS/SVG encoder element
Fixes bug #331420.
Diffstat (limited to 'ext/cairo/gstcairo.c')
-rw-r--r--ext/cairo/gstcairo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/cairo/gstcairo.c b/ext/cairo/gstcairo.c
index 85573b73..d821728f 100644
--- a/ext/cairo/gstcairo.c
+++ b/ext/cairo/gstcairo.c
@@ -24,6 +24,7 @@
#include <gsttimeoverlay.h>
#include <gsttextoverlay.h>
+#include <gstcairorender.h>
#include <string.h>
#include <math.h>
@@ -36,6 +37,8 @@ plugin_init (GstPlugin * plugin)
GST_TYPE_CAIRO_TEXT_OVERLAY);
gst_element_register (plugin, "cairotimeoverlay", GST_RANK_NONE,
GST_TYPE_CAIRO_TIME_OVERLAY);
+ gst_element_register (plugin, "cairorender", GST_RANK_SECONDARY,
+ GST_TYPE_CAIRO_RENDER);
GST_DEBUG_CATEGORY_INIT (cairo_debug, "cairo", 0, "Cairo elements");
@@ -43,5 +46,5 @@ plugin_init (GstPlugin * plugin)
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, "cairo",
- "Cairo-based overlaying", plugin_init, VERSION,
+ "Cairo-based elements", plugin_init, VERSION,
GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);