[xiph-commits] r14472 - trunk/vorbis-tools/ogg123
ivo at svn.xiph.org
ivo at svn.xiph.org
Mon Feb 11 11:54:56 PST 2008
Author: ivo
Date: 2008-02-11 11:54:53 -0800 (Mon, 11 Feb 2008)
New Revision: 14472
Modified:
trunk/vorbis-tools/ogg123/http_transport.c
Log:
Add new media types.
Modified: trunk/vorbis-tools/ogg123/http_transport.c
===================================================================
--- trunk/vorbis-tools/ogg123/http_transport.c 2008-02-11 19:46:56 UTC (rev 14471)
+++ trunk/vorbis-tools/ogg123/http_transport.c 2008-02-11 19:54:53 UTC (rev 14472)
@@ -217,9 +217,9 @@
/* ogg123 only accepts Ogg files, and optionally FLAC as well */
#ifdef HAVE_LIBFLAC
- private->header_list = curl_slist_append(NULL, "Accept: application/ogg, audio/x-flac;q=0.9");
+ private->header_list = curl_slist_append(NULL, "Accept: application/ogg, audio/ogg, video/ogg, audio/x-flac;q=0.9");
#else
- private->header_list = curl_slist_append(NULL, "Accept: application/ogg");
+ private->header_list = curl_slist_append(NULL, "Accept: application/ogg, audio/ogg, video/ogg;q=0.9");
#endif
if (private->header_list == NULL)
goto fail;
More information about the commits
mailing list