Commit 1d73ea88 authored by Stefan Kost's avatar Stefan Kost
Browse files

textoverlay: drop trailing whitespaces

parent fee32660
......@@ -32,7 +32,7 @@
* 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.
*
......@@ -41,7 +41,7 @@
* |[
* 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
......@@ -54,12 +54,12 @@
* 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?
......@@ -1268,8 +1268,8 @@ gst_text_overlay_render_pangocairo (GstTextOverlay * overlay,
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment