tools/gst-launch.c: When buffering goes from a two digit to a single digit number, make sure to remove the old second...

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.
This commit is contained in:
Wim Taymans 2007-05-24 15:00:55 +00:00
parent fda3f3facf
commit 51c72cdd13
2 changed files with 7 additions and 1 deletions

View file

@ -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:

View 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 */