Original commit message from CVS:
Patch by: Young-Ho Cha <ganadist at chollian net>
* ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
(gst_text_overlay_render_text):
Don't strip newlines from the text. Also, center lines
within multi-line paragraphs (#339405).
2006-04-28 Tim-Philipp Müller <tim at centricular dot net>
+ Patch by: Young-Ho Cha <ganadist at chollian net>
+
+ * ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
+ (gst_text_overlay_render_text):
+ Don't strip newlines from the text. Also, center lines
+ within multi-line paragraphs (#339405).
+
+2006-04-28 Tim-Philipp Müller <tim at centricular dot net>
+
* gst/typefind/gsttypefindfunctions.c: (wavpack_type_find):
Fix wavpack typefinding to work in more cases (don't peek
for chunks of multiple hundred kBs at once, but process
overlay->layout =
pango_layout_new (GST_TEXT_OVERLAY_GET_CLASS (overlay)->pango_context);
+ pango_layout_set_alignment (overlay->layout, PANGO_ALIGN_CENTER);
memset (&overlay->bitmap, 0, sizeof (overlay->bitmap));
overlay->halign = DEFAULT_PROP_HALIGNMENT;
} else { /* empty string */
string = g_strdup (" ");
}
- g_strdelimit (string, "\n\r\t", ' ');
+ g_strdelimit (string, "\r\t", ' ');
textlen = strlen (string);
/* FIXME: should we check for UTF-8 here? */