gst-plugins-base: textoverlay: drop trailing whitespaces

Stefan Kost ensonic at kemper.freedesktop.org
Mon Mar 14 01:44:54 PDT 2011


Module: gst-plugins-base
Branch: master
Commit: 1d73ea887dd1e9bc4ee2b0ec5d2327adeba72a53
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=1d73ea887dd1e9bc4ee2b0ec5d2327adeba72a53

Author: Stefan Kost <ensonic at users.sf.net>
Date:   Fri Mar  4 14:52:01 2011 +0200

textoverlay: drop trailing whitespaces

---

 ext/pango/gsttextoverlay.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ext/pango/gsttextoverlay.c b/ext/pango/gsttextoverlay.c
index 1c449c8..3111a02 100644
--- a/ext/pango/gsttextoverlay.c
+++ b/ext/pango/gsttextoverlay.c
@@ -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&apos;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);



More information about the gstreamer-commits mailing list