[MPlayer-cvslog] r26003 - trunk/stream/http.c
reimar
subversion at mplayerhq.hu
Fri Feb 15 21:32:45 CET 2008
Author: reimar
Date: Fri Feb 15 21:32:45 2008
New Revision: 26003
Log:
Always display Icy-Metadata if available, whether we recognize an ICY-Server
or not. I can not think of a reason why this should hurt.
Modified:
trunk/stream/http.c
Modified: trunk/stream/http.c
==============================================================================
--- trunk/stream/http.c (original)
+++ trunk/stream/http.c Fri Feb 15 21:32:45 2008
@@ -772,13 +772,14 @@ static int http_streaming_start(stream_t
seekable = strncmp(accept_ranges,"bytes",5)==0;
}
+ print_icy_metadata(http_hdr);
+
// Check if the response is an ICY status_code reason_phrase
if( !strcasecmp(http_hdr->protocol, "ICY") ||
http_get_field(http_hdr, "Icy-MetaInt") ) {
switch( http_hdr->status_code ) {
case 200: { // OK
char *field_data;
- print_icy_metadata(http_hdr);
// If content-type == video/nsv we most likely have a winamp video stream
// otherwise it should be mp3. if there are more types consider adding mime type
// handling like later
More information about the MPlayer-cvslog
mailing list