adding formats

Original commit message from CVS:
adding formats
This commit is contained in:
Thomas Vander Stichele 2002-11-09 18:16:27 +00:00
parent 9955ea95b9
commit 2db9dfdb45

View file

@ -28,6 +28,12 @@ have_type (GstElement *element, GstCaps *caps, GstCaps **private_caps)
else if (strstr (mime, "x-ogg")) {
decoder = gst_element_factory_make ("vorbisfile", "decoder");
}
else if (strstr (mime, "x-wav")) {
decoder = gst_element_factory_make ("wavparse", "decoder");
}
else if (strstr (mime, "x-flac")) {
decoder = gst_element_factory_make ("flacdec", "decoder");
}
else {
g_print ("mime type %s not handled in this program, exiting.\n", mime);
g_free (mime);