[xiph-cvs] cvs commit: vorbis-tools/ogg123 oggvorbis_format.c status.c
Stan Seibert
volsung at xiph.org
Tue Dec 18 18:13:58 PST 2001
volsung 01/12/18 18:13:58
Modified: ogg123 Tag: volsung_kc_20011011 oggvorbis_format.c
status.c
Log:
Clear the statistics line before printing messages so we don't get
leftovers scattered about.
Revision Changes Path
No revision
No revision
1.1.2.9 +1 -3 vorbis-tools/ogg123/Attic/oggvorbis_format.c
Index: oggvorbis_format.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/Attic/oggvorbis_format.c,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -r1.1.2.8 -r1.1.2.9
--- oggvorbis_format.c 2001/12/16 00:31:42 1.1.2.8
+++ oggvorbis_format.c 2001/12/19 02:13:57 1.1.2.9
@@ -11,7 +11,7 @@
* *
********************************************************************
- last mod: $Id: oggvorbis_format.c,v 1.1.2.8 2001/12/16 00:31:42 volsung Exp $
+ last mod: $Id: oggvorbis_format.c,v 1.1.2.9 2001/12/19 02:13:57 volsung Exp $
********************************************************************/
@@ -337,8 +337,6 @@
if (cb == NULL || cb->printf_metadata == NULL)
return;
-
- cb->printf_metadata(decoder->callback_arg, 1, ""); /* Add a blank line */
for (i = 0; i < priv->vc->comments; i++) {
comment = priv->vc->user_comments[i];
1.1.2.7.2.10 +6 -1 vorbis-tools/ogg123/Attic/status.c
Index: status.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/Attic/status.c,v
retrieving revision 1.1.2.7.2.9
retrieving revision 1.1.2.7.2.10
diff -u -r1.1.2.7.2.9 -r1.1.2.7.2.10
--- status.c 2001/12/19 02:07:52 1.1.2.7.2.9
+++ status.c 2001/12/19 02:13:58 1.1.2.7.2.10
@@ -11,7 +11,7 @@
* *
********************************************************************
- last mod: $Id: status.c,v 1.1.2.7.2.9 2001/12/19 02:07:52 volsung Exp $
+ last mod: $Id: status.c,v 1.1.2.7.2.10 2001/12/19 02:13:58 volsung Exp $
********************************************************************/
@@ -400,6 +400,8 @@
pthread_mutex_lock(&output_lock);
+ clear_line(last_line_len);
+
va_start (ap, fmt);
vstatus_print_nolock(fmt, ap);
va_end (ap);
@@ -419,6 +421,7 @@
pthread_mutex_lock(&output_lock);
+ clear_line(last_line_len);
vstatus_print_nolock(fmt, ap);
pthread_mutex_unlock(&output_lock);
@@ -435,6 +438,7 @@
pthread_mutex_lock(&output_lock);
va_start (ap, fmt);
+ clear_line(last_line_len);
vstatus_print_nolock (fmt, ap);
va_end (ap);
pthread_mutex_unlock(&output_lock);
@@ -448,6 +452,7 @@
pthread_cleanup_push(unlock_output_lock, NULL);
pthread_mutex_lock(&output_lock);
+ clear_line(last_line_len);
vstatus_print_nolock (fmt, ap);
pthread_mutex_unlock(&output_lock);
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list