* the text set via the "text" property will be rendered. If the text sink
* pad is linked, text will be rendered as it is received on that pad,
* honouring and matching the buffer timestamps of both input streams.
- *
+ *
* The text can contain newline characters and text wrapping is enabled by
* default.
*
* |[
* gst-launch -v videotestsrc ! textoverlay text="Room A" valign=top halign=left ! xvimagesink
* ]| Here is a simple pipeline that displays a static text in the top left
- * corner of the video picture
+ * corner of the video picture
* |[
* gst-launch -v filesrc location=subtitles.srt ! subparse ! txt. videotestsrc ! timeoverlay ! textoverlay name=txt shaded-background=yes ! xvimagesink
* ]| Here is another pipeline that displays subtitles from an .srt subtitle
* 1
* 00:00:03,000 --> 00:00:05,000
* Hello? (3-5s)
- *
+ *
* 2
* 00:00:08,000 --> 00:00:13,000
* Yes, this is a subtitle. Don't
* you like it? (8-13s)
- *
+ *
* 3
* 00:00:18,826 --> 00:01:02,886
* Uh? What are you talking about?
if (width + overlay->deltax >
(overlay->use_vertical_render ? overlay->height : overlay->width)) {
- /*
- * subtitle image width is larger then overlay width
+ /*
+ * subtitle image width is larger then overlay width
* so rearrange overlay wrap mode.
*/
gst_text_overlay_update_wrap_mode (overlay);