[xiph-cvs] cvs commit: ices/src cfgparse.c

Karl Heyes karl at xiph.org
Wed Jul 2 16:30:46 PDT 2003



karl        03/07/02 19:30:46

  Modified:    src      cfgparse.c
  Log:
  use the stated bitrate in managed mode instead of assuming the default
  quality 3.

Revision  Changes    Path
1.5       +4 -1      ices/src/cfgparse.c

Index: cfgparse.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/cfgparse.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- cfgparse.c	2 Jul 2003 20:26:51 -0000	1.4
+++ cfgparse.c	2 Jul 2003 23:30:46 -0000	1.5
@@ -1,7 +1,7 @@
 /* cfgparse.c
  * - cfgparse file reading code, plus default settings.
  *
- * $Id: cfgparse.c,v 1.4 2003/07/02 20:26:51 karl Exp $
+ * $Id: cfgparse.c,v 1.5 2003/07/02 23:30:46 karl Exp $
  *
  * Copyright (c) 2001 Michael Smith <msmith at labyrinth.net.au>
  *
@@ -168,7 +168,10 @@
         if (xmlIsBlankNode(node)) continue;
 
         if (strcmp(node->name, "nominal-bitrate") == 0)
+        {
             SET_INT(instance->nom_br);
+            instance->managed = 1;
+        }
         else if (strcmp(node->name, "minimum-bitrate") == 0)
             SET_INT(instance->min_br);
         else if (strcmp(node->name, "maximum-bitrate") == 0)

<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