Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marvin Scholz
Icecast-Server
Commits
1f92e2ab
Commit
1f92e2ab
authored
Aug 05, 2009
by
Karl Heyes
Browse files
setting an interval of 0 in mount should disable shoutcast metadata inserts.
svn path=/icecast/trunk/icecast/; revision=16439
parent
5f927335
Changes
1
Show whitespace changes
Inline
Side-by-side
src/format_mp3.c
View file @
1f92e2ab
...
...
@@ -206,12 +206,12 @@ static void format_mp3_apply_settings (client_t *client, format_plugin_t *format
if
(
mount
)
{
if
(
mount
->
mp3_meta_interval
>
0
)
if
(
mount
->
mp3_meta_interval
>
=
0
)
source_mp3
->
interval
=
mount
->
mp3_meta_interval
;
if
(
mount
->
charset
)
format
->
charset
=
strdup
(
mount
->
charset
);
}
if
(
source_mp3
->
interval
<
=
0
)
if
(
source_mp3
->
interval
<
0
)
{
const
char
*
metadata
=
httpp_getvar
(
client
->
parser
,
"icy-metaint"
);
source_mp3
->
interval
=
ICY_METADATA_INTERVAL
;
...
...
Write
Preview
Supports
Markdown
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