tools/gst-launch.c: When buffering goes from a two digit to a single digit number...
authorWim Taymans <wim.taymans@gmail.com>
Thu, 24 May 2007 15:00:55 +0000 (15:00 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 24 May 2007 15:00:55 +0000 (15:00 +0000)
Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
When buffering goes from a two digit to a single digit number, make sure
to remove the old second digit by writing a blank over it.

ChangeLog
tools/gst-launch.c

index da3f752..6f17358 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-24  Wim Taymans  <wim@fluendo.com>
+
+       * tools/gst-launch.c: (event_loop):
+       When buffering goes from a two digit to a single digit number, make sure
+       to remove the old second digit by writing a blank over it.
+
 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
 
        * libs/gst/base/gstdataqueue.c:
index fb276f3..6a583b1 100644 (file)
@@ -499,7 +499,7 @@ event_loop (GstElement * pipeline, gboolean blocking, GstState target_state)
         gint percent;
 
         gst_message_parse_buffering (message, &percent);
-        fprintf (stderr, "buffering... %d\r", percent);
+        fprintf (stderr, "buffering... %d  \r", percent);
 
         if (percent == 100) {
           /* a 100% message means buffering is done */