diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2005-11-07 15:09:54 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2005-11-07 15:09:54 +0000 |
commit | 8af7381d5cac93a8af28a303533f34de7aade137 (patch) | |
tree | 536e1510dfc741197d86233f11bf7efba2849c7d /ext/cairo/gstcairo.c | |
parent | fb1c3904f701a967840cf59cd0808034cfb70d7a (diff) |
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.
Diffstat (limited to 'ext/cairo/gstcairo.c')
-rw-r--r-- | ext/cairo/gstcairo.c | 5 |
1 files changed, 1 insertions, 4 deletions
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 <gsttimeoverlay.h> #include <gsttextoverlay.h> #include <string.h> @@ -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); |