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
Icecast-Server
Commits
1f92e2ab
Commit
1f92e2ab
authored
Aug 05, 2009
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/format_mp3.c
src/format_mp3.c
+2
-2
No files found.
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
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