[xiph-cvs] cvs commit: vorbis-tools/oggenc oggenc.c
Segher Boessenkool
segher at xiph.org
Fri Dec 21 04:59:45 PST 2001
segher 01/12/21 04:59:44
Modified: oggenc oggenc.c
Log:
default quality setting prevented bounded streams from working. fixed.
Revision Changes Path
1.39 +4 -1 vorbis-tools/oggenc/oggenc.c
Index: oggenc.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/oggenc.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- oggenc.c 2001/12/20 16:40:52 1.38
+++ oggenc.c 2001/12/21 12:59:44 1.39
@@ -68,7 +68,7 @@
/* Default values */
oe_options opt = {"ISO-8859-1", NULL, 0, NULL, 0, NULL, 0, NULL, 0, NULL,
0, NULL, 0, NULL, 0, 0, 0,16,44100,2, NULL,DEFAULT_NAMEFMT_REMOVE,
- DEFAULT_NAMEFMT_REPLACE, NULL, -1,-1,-1, 0.3,0};
+ DEFAULT_NAMEFMT_REPLACE, NULL, -1,-1,-1,-1,0};
int i;
char **infiles;
@@ -657,6 +657,9 @@
exit(0);
}
}
+
+ if (opt->min_bitrate < 0 && opt->nominal_bitrate < 0 && opt->max_bitrate < 0 && opt->quality < 0.f)
+ opt->quality = 0.3f;
}
static void add_tag(vorbis_comment *vc, oe_options *opt,char *name, char *value)
--- >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