mimetype patch from iain holmes, thanks dude

Original commit message from CVS:
mimetype patch from iain holmes, thanks dude
This commit is contained in:
Iain Holmes 2002-09-13 13:02:56 +00:00 committed by Christian Schaller
parent 51b1ddf706
commit 2c49951a5c
2 changed files with 4 additions and 3 deletions

View file

@ -26,6 +26,7 @@ gst1394 libraw1394 (http://linux1394.sourceforge.net)
flac libFLAC (http://flac.sourceforge.net) flac libFLAC (http://flac.sourceforge.net)
RTP ortp (http://www.linphone.org/ortp/) RTP ortp (http://www.linphone.org/ortp/)
Effectv effectv (http://effectv.sourceforge.net) Effectv effectv (http://effectv.sourceforge.net)
ffmpeg ffmpeg (http://ffmpeg.sourceforge.net)
Plugins which use a BSD covered library are as follows: Plugins which use a BSD covered library are as follows:
vorbisenc libogg/libvorbis (http://www.xiph.org/ogg/vorbis) vorbisenc libogg/libvorbis (http://www.xiph.org/ogg/vorbis)

View file

@ -38,7 +38,7 @@ vorbis_caps_factory (void)
return return
gst_caps_new ( gst_caps_new (
"vorbis_vorbis", "vorbis_vorbis",
"audio/x-ogg", "application/x-ogg",
NULL); NULL);
} }
@ -78,7 +78,7 @@ raw_caps2_factory (void)
static GstTypeDefinition vorbisdefinition = { static GstTypeDefinition vorbisdefinition = {
"vorbis_audio/x-ogg", "vorbis_audio/x-ogg",
"audio/x-ogg", "application/x-ogg",
".ogg", ".ogg",
vorbis_type_find, vorbis_type_find,
}; };
@ -91,7 +91,7 @@ vorbis_type_find (GstBuffer *buf, gpointer private)
if (head != 0x4F676753) if (head != 0x4F676753)
return NULL; return NULL;
return gst_caps_new ("vorbis_type_find", "audio/x-ogg", NULL); return gst_caps_new ("vorbis_type_find", "application/x-ogg", NULL);
} }