Commit 582ef61d authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* NSV uses a different mime type for audio only streams. Force the right demuxer...

(we are very much approaching the point where we need a proper mimetype match table within the code)
parent 15f53b19
......@@ -370,7 +370,8 @@ 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, "video/nsv" ) )
if( p_sys->psz_mime && ( !strcasecmp( p_sys->psz_mime, "video/nsv" ) ||
!strcasecmp( p_sys->psz_mime, "video/nsa") ) )
p_access->psz_demux = strdup( "nsv" );
else if( p_sys->psz_mime &&
( !strcasecmp( p_sys->psz_mime, "audio/aac" ) ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment