adding formats

Original commit message from CVS:
adding formats
parent 9955ea95
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment