Commit 7937e7e4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

http: add one missing content type hack

parent d7b6368f
......@@ -994,6 +994,11 @@ static int Control( access_t *p_access, int i_query, va_list args )
*type = strdup( "audio/mpeg" );
else if( !strcasecmp( p_access->psz_access, "itpc" ) )
*type = strdup( "application/rss+xml" );
else if( !strcasecmp( p_access->psz_access, "unsv" ) &&
p_sys->psz_mime != NULL &&
!strcasecmp( p_sys->psz_mime, "misc/ultravox" ) )
/* Grrrr! detect ultravox server and force NSV demuxer */
*type = strdup( "video/nsa" );
else
*type = strdup( p_sys->psz_mime );
break;
......
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