Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
8bf0d77a
Commit
8bf0d77a
authored
Sep 07, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
:%s/\t/ /g
parent
f7461fc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
modules/access_output/shout.c
modules/access_output/shout.c
+10
-10
No files found.
modules/access_output/shout.c
View file @
8bf0d77a
...
@@ -289,10 +289,10 @@ static int Open( vlc_object_t *p_this )
...
@@ -289,10 +289,10 @@ static int Open( vlc_object_t *p_this )
}
}
else
else
{
{
/* Bitrate information is used for icecast/shoutcast servers directory
/* Bitrate information is used for icecast/shoutcast servers directory
listings (sorting, stream info etc.) */
listings (sorting, stream info etc.) */
msg_Warn
(
p_access
,
"no bitrate information specified (required for listing "
\
msg_Warn
(
p_access
,
"no bitrate information specified (required for listing "
\
"the server as public on the shoutcast website)"
);
"the server as public on the shoutcast website)"
);
free
(
val
.
psz_string
);
free
(
val
.
psz_string
);
}
}
...
@@ -369,13 +369,13 @@ static int Open( vlc_object_t *p_this )
...
@@ -369,13 +369,13 @@ static int Open( vlc_object_t *p_this )
}
}
else
else
{
{
/* If default 'http' protocol for icecast 2.x fails, fall back to 'icy'
/* If default 'http' protocol for icecast 2.x fails, fall back to 'icy'
for shoutcast server */
for shoutcast server */
msg_Warn
(
p_access
,
"failed to connect using 'http' (icecast 2.x) protocol, "
msg_Warn
(
p_access
,
"failed to connect using 'http' (icecast 2.x) protocol, "
"switching to 'icy' (shoutcast)"
);
"switching to 'icy' (shoutcast)"
);
i_ret
=
shout_get_format
(
p_shout
);
i_ret
=
shout_get_format
(
p_shout
);
if
(
i_ret
!=
SHOUT_FORMAT_MP3
)
if
(
i_ret
!=
SHOUT_FORMAT_MP3
)
{
{
msg_Err
(
p_access
,
"failed to use 'icy' protocol: only MP3 "
\
msg_Err
(
p_access
,
"failed to use 'icy' protocol: only MP3 "
\
"streaming to shoutcast is supported"
);
"streaming to shoutcast is supported"
);
...
@@ -384,14 +384,14 @@ static int Open( vlc_object_t *p_this )
...
@@ -384,14 +384,14 @@ static int Open( vlc_object_t *p_this )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
/* Shout parameters cannot be changed on an open connection */
/* Shout parameters cannot be changed on an open connection */
i_ret
=
shout_close
(
p_shout
);
i_ret
=
shout_close
(
p_shout
);
if
(
i_ret
==
SHOUTERR_SUCCESS
)
if
(
i_ret
==
SHOUTERR_SUCCESS
)
{
{
i_ret
=
SHOUTERR_UNCONNECTED
;
i_ret
=
SHOUTERR_UNCONNECTED
;
}
}
i_ret
=
shout_set_protocol
(
p_shout
,
SHOUT_PROTOCOL_ICY
);
i_ret
=
shout_set_protocol
(
p_shout
,
SHOUT_PROTOCOL_ICY
);
if
(
i_ret
!=
SHOUTERR_SUCCESS
)
if
(
i_ret
!=
SHOUTERR_SUCCESS
)
{
{
msg_Err
(
p_access
,
"failed to set the protocol to 'icy'"
);
msg_Err
(
p_access
,
"failed to set the protocol to 'icy'"
);
...
...
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