Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-IceS
Commits
9c12a37c
Commit
9c12a37c
authored
Jul 02, 2003
by
Karl Heyes
Browse files
use the stated bitrate in managed mode instead of assuming the default
quality 3. svn path=/trunk/ices/; revision=5043
parent
d5e28258
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cfgparse.c
View file @
9c12a37c
/* cfgparse.c
* - cfgparse file reading code, plus default settings.
*
* $Id: cfgparse.c,v 1.
4
2003/07/02 2
0:26:51
karl Exp $
* $Id: cfgparse.c,v 1.
5
2003/07/02 2
3:30:46
karl Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
...
...
@@ -168,7 +168,10 @@ static void _parse_encode(instance_t *instance,xmlDocPtr doc, xmlNodePtr node)
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
)
...
...
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