From 8af7381d5cac93a8af28a303533f34de7aade137 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Mon, 7 Nov 2005 15:09:54 +0000 Subject: ext/cairo/: Port cairo textoverlay plugin to 0.9. Add 'shaded-background' property and redo position. Doesn't handle ... Original commit message from CVS: * ext/cairo/Makefile.am: * ext/cairo/gstcairo.c: (plugin_init): * ext/cairo/gsttextoverlay.c: (gst_text_overlay_base_init), (gst_text_overlay_class_init), (gst_text_overlay_finalize), (gst_text_overlay_init), (gst_text_overlay_font_init), (gst_text_overlay_set_property), (gst_text_overlay_render_text), (gst_text_overlay_getcaps), (gst_text_overlay_setcaps), (gst_text_overlay_text_pad_linked), (gst_text_overlay_text_pad_unlinked), (gst_text_overlay_shade_y), (gst_text_overlay_blit_1), (gst_text_overlay_blit_sub2x2), (gst_text_overlay_push_frame), (gst_text_overlay_pop_video), (gst_text_overlay_pop_text), (gst_text_overlay_collected), (gst_text_overlay_change_state): * ext/cairo/gsttextoverlay.h: Port cairo textoverlay plugin to 0.9. Add 'shaded-background' property and redo position. Doesn't handle upstream renegotiation yet though. --- ext/cairo/gstcairo.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ext/cairo/gstcairo.c') diff --git a/ext/cairo/gstcairo.c b/ext/cairo/gstcairo.c index 200cc97d..953ec72c 100644 --- a/ext/cairo/gstcairo.c +++ b/ext/cairo/gstcairo.c @@ -22,7 +22,6 @@ #include "config.h" #endif -/*#define DEBUG_ENABLED */ #include #include #include @@ -33,10 +32,8 @@ GST_DEBUG_CATEGORY (cairo_debug); static gboolean plugin_init (GstPlugin * plugin) { -#if 0 gst_element_register (plugin, "cairotextoverlay", GST_RANK_NONE, - GST_TYPE_TEXTOVERLAY); -#endif + GST_TYPE_TEXT_OVERLAY); gst_element_register (plugin, "cairotimeoverlay", GST_RANK_NONE, GST_TYPE_TIMEOVERLAY); -- cgit