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
581c7903
Commit
581c7903
authored
Apr 05, 2005
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* http.c: force nsv when using unsv:// and mime is misc/ultravox.
parent
25c03394
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
modules/access/http.c
modules/access/http.c
+9
-2
No files found.
modules/access/http.c
View file @
581c7903
...
...
@@ -385,9 +385,9 @@ static int Open( vlc_object_t *p_this )
if
(
!
strcmp
(
p_sys
->
psz_protocol
,
"ICY"
)
||
p_sys
->
b_icecast
)
{
if
(
p_sys
->
psz_mime
&&
strcasecmp
(
p_sys
->
psz_mime
,
"application/ogg"
)
)
{
{
if
(
!
strcasecmp
(
p_sys
->
psz_mime
,
"video/nsv"
)
||
!
strcasecmp
(
p_sys
->
psz_mime
,
"video/nsa"
)
)
!
strcasecmp
(
p_sys
->
psz_mime
,
"video/nsa"
)
)
p_access
->
psz_demux
=
strdup
(
"nsv"
);
else
if
(
!
strcasecmp
(
p_sys
->
psz_mime
,
"audio/aac"
)
||
!
strcasecmp
(
p_sys
->
psz_mime
,
"audio/aacp"
)
)
...
...
@@ -411,6 +411,13 @@ static int Open( vlc_object_t *p_this )
}
/* else probably Ogg Vorbis */
}
else
if
(
!
strcasecmp
(
p_access
->
psz_access
,
"unsv"
)
&&
p_sys
->
psz_mime
&&
!
strcasecmp
(
p_sys
->
psz_mime
,
"misc/ultravox"
)
)
{
/* Grrrr! detect ultravox server and force NSV demuxer */
p_access
->
psz_demux
=
strdup
(
"nsv"
);
}
if
(
p_sys
->
b_reconnect
)
msg_Dbg
(
p_access
,
"auto re-connect enabled"
);
...
...
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