[xiph-cvs] cvs commit: vorbis-tools/ogg123 ogg123.c

Stan Seibert volsung at xiph.org
Mon Sep 1 13:02:58 PDT 2003



volsung     03/09/01 16:02:58

  Modified:    ogg123   ogg123.c
  Log:
  Reset disabled time stats for each song.  Closes bug 364.

Revision  Changes    Path
1.67      +5 -2      vorbis-tools/ogg123/ogg123.c

Index: ogg123.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/ogg123.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- ogg123.c	12 Jan 2003 20:19:22 -0000	1.66
+++ ogg123.c	1 Sep 2003 20:02:58 -0000	1.67
@@ -14,7 +14,7 @@
  *                                                                  *
  ********************************************************************
 
- last mod: $Id: ogg123.c,v 1.66 2003/01/12 20:19:22 volsung Exp $
+ last mod: $Id: ogg123.c,v 1.67 2003/09/01 20:02:58 volsung Exp $
 
  ********************************************************************/
 
@@ -180,7 +180,10 @@
     stats[7].enabled = 0;
   }
     
-  /* Put logic here to decide if this stream needs a total time display */
+  /* Assume we need total time display, and let display_statistics()
+     determine at what point it should be turned off during playback */
+  stats[2].enabled = 1;  /* Remaining playback time */
+  stats[3].enabled = 1;  /* Total playback time */
 }
 
 

<p><p>--- >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