Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Vorbis tools
Commits
05405a7a
Commit
05405a7a
authored
Dec 19, 2001
by
Jack Moffitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quality is 0-10, not 0-1.
svn path=/trunk/vorbis-tools/; revision=2861
parent
5c927939
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
oggenc/encode.c
oggenc/encode.c
+2
-2
oggenc/oggenc.c
oggenc/oggenc.c
+1
-0
No files found.
oggenc/encode.c
View file @
05405a7a
...
...
@@ -283,10 +283,10 @@ void encode_error(char *errmsg)
void
start_encode_full
(
char
*
fn
,
char
*
outfn
,
int
bitrate
,
float
quality
)
{
if
(
quality
>=
0
.
0
f
)
fprintf
(
stderr
,
"Encoding %s%s%s to
\n
%s%s%s at quality %f
\n
"
,
fprintf
(
stderr
,
"Encoding %s%s%s to
\n
%s%s%s at quality %
2.2
f
\n
"
,
fn
?
"
\"
"
:
""
,
fn
?
fn
:
"standard input"
,
fn
?
"
\"
"
:
""
,
outfn
?
"
\"
"
:
""
,
outfn
?
outfn
:
"standard output"
,
outfn
?
"
\"
"
:
""
,
quality
);
quality
*
10
);
else
fprintf
(
stderr
,
"Encoding %s%s%s to
\n
"
"%s%s%s at bitrate %d kbps
\n
"
,
...
...
oggenc/oggenc.c
View file @
05405a7a
...
...
@@ -549,6 +549,7 @@ static void parse_options(int argc, char **argv, oe_options *opt)
fprintf
(
stderr
,
"Quality option
\"
%s
\"
not recognised, ignoring
\n
"
,
optarg
);
break
;
}
opt
->
quality
*=
0
.
1
;
if
(
opt
->
quality
>
1
.
0
f
)
{
opt
->
quality
=
1
.
0
f
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment