From 2c49951a5c1030fa33876720edd2a3fbc8a46abd Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Fri, 13 Sep 2002 13:02:56 +0000 Subject: [PATCH] mimetype patch from iain holmes, thanks dude Original commit message from CVS: mimetype patch from iain holmes, thanks dude --- LICENSE_readme | 1 + ext/vorbis/vorbis.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/LICENSE_readme b/LICENSE_readme index acfd11a..70d6541 100644 --- a/LICENSE_readme +++ b/LICENSE_readme @@ -26,6 +26,7 @@ gst1394 libraw1394 (http://linux1394.sourceforge.net) flac libFLAC (http://flac.sourceforge.net) RTP ortp (http://www.linphone.org/ortp/) Effectv effectv (http://effectv.sourceforge.net) +ffmpeg ffmpeg (http://ffmpeg.sourceforge.net) Plugins which use a BSD covered library are as follows: vorbisenc libogg/libvorbis (http://www.xiph.org/ogg/vorbis) diff --git a/ext/vorbis/vorbis.c b/ext/vorbis/vorbis.c index 7de1fc0..317a81d 100644 --- a/ext/vorbis/vorbis.c +++ b/ext/vorbis/vorbis.c @@ -38,7 +38,7 @@ vorbis_caps_factory (void) return gst_caps_new ( "vorbis_vorbis", - "audio/x-ogg", + "application/x-ogg", NULL); } @@ -78,7 +78,7 @@ raw_caps2_factory (void) static GstTypeDefinition vorbisdefinition = { "vorbis_audio/x-ogg", - "audio/x-ogg", + "application/x-ogg", ".ogg", vorbis_type_find, }; @@ -91,7 +91,7 @@ vorbis_type_find (GstBuffer *buf, gpointer private) if (head != 0x4F676753) return NULL; - return gst_caps_new ("vorbis_type_find", "audio/x-ogg", NULL); + return gst_caps_new ("vorbis_type_find", "application/x-ogg", NULL); } -- 2.7.4