summaryrefslogtreecommitdiffstats
path: root/ext/cairo/gstcairo.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-10-12 03:12:57 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-10-12 03:12:57 +0000
commitb51bde9b553764d0d46708089836e182e0f2491c (patch)
treeb4d4c8dccc836c94a47f6ed2723993947931b439 /ext/cairo/gstcairo.c
parent722ec5e4ab7e1f3ea020f0ad90cd17347fabe5dc (diff)
ext/: update of cairo-based timeoverlay to 1.0 Cairo API doesn't work yet for resizing of output sink
Original commit message from CVS: * ext/Makefile.am: * ext/cairo/Makefile.am: * ext/cairo/gstcairo.c: (plugin_init): * ext/cairo/gsttextoverlay.c: (gst_textoverlay_change_state): * ext/cairo/gsttimeoverlay.c: (gst_timeoverlay_update_font_height), (gst_timeoverlay_setup), (gst_timeoverlay_planar411): * ext/cairo/gsttimeoverlay.h: update of cairo-based timeoverlay to 1.0 Cairo API doesn't work yet for resizing of output sink
Diffstat (limited to 'ext/cairo/gstcairo.c')
-rw-r--r--ext/cairo/gstcairo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/cairo/gstcairo.c b/ext/cairo/gstcairo.c
index 43af1ca1..200cc97d 100644
--- a/ext/cairo/gstcairo.c
+++ b/ext/cairo/gstcairo.c
@@ -33,11 +33,10 @@ GST_DEBUG_CATEGORY (cairo_debug);
static gboolean
plugin_init (GstPlugin * plugin)
{
- if (!gst_library_load ("gstvideofilter"))
- return FALSE;
-
+#if 0
gst_element_register (plugin, "cairotextoverlay", GST_RANK_NONE,
GST_TYPE_TEXTOVERLAY);
+#endif
gst_element_register (plugin, "cairotimeoverlay", GST_RANK_NONE,
GST_TYPE_TIMEOVERLAY);
@@ -46,5 +45,6 @@ plugin_init (GstPlugin * plugin)
return TRUE;
}
-GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, "timeoverlay",
- "Time overlay", plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN)
+GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, "cairo",
+ "Cairo-based overlaying", plugin_init, VERSION,
+ GST_LICENSE, GST_PACKAGE, GST_ORIGIN);