summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorJustin McPherson <justin.mcpherson@nokia.com>2009-11-11 03:51:21 (GMT)
committerJustin McPherson <justin.mcpherson@nokia.com>2009-11-11 03:51:21 (GMT)
commit8811a447ceae6fcc42cb120a3b355decf250a229 (patch)
tree26af92afd32f2e48604b9e3fc277da16efdc8e93 /src/3rdparty
parent1dd3605bab059e800b70eb5c3c2fb4f175372670 (diff)
downloadQt-8811a447ceae6fcc42cb120a3b355decf250a229.zip
Qt-8811a447ceae6fcc42cb120a3b355decf250a229.tar.gz
Qt-8811a447ceae6fcc42cb120a3b355decf250a229.tar.bz2
Gstreamer: Detect more mimetypes
Integrated KDE change 1029491 by nlecureuil Reviewed-by: Dmytro Poplavskiy
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/phonon/gstreamer/backend.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/3rdparty/phonon/gstreamer/backend.cpp b/src/3rdparty/phonon/gstreamer/backend.cpp
index be1cf0a..4041f2b 100644
--- a/src/3rdparty/phonon/gstreamer/backend.cpp
+++ b/src/3rdparty/phonon/gstreamer/backend.cpp
@@ -207,8 +207,15 @@ QStringList Backend::availableMimeTypes() const
GstPluginFeature *feature = GST_PLUGIN_FEATURE(iter->data);
QString klass = gst_element_factory_get_klass(GST_ELEMENT_FACTORY(feature));
- if (klass == QLatin1String("Codec/Decoder/Audio") ||
- klass == QLatin1String("Codec/Decoder/Video")) {
+ if (klass == QLatin1String("Codec/Decoder") ||
+ klass == QLatin1String("Codec/Decoder/Audio") ||
+ klass == QLatin1String("Codec/Decoder/Video") ||
+ klass == QLatin1String("Codec/Demuxer") ||
+ klass == QLatin1String("Codec/Demuxer/Audio") ||
+ klass == QLatin1String("Codec/Demuxer/Video") ||
+ klass == QLatin1String("Codec/Parser") ||
+ klass == QLatin1String("Codec/Parser/Audio") ||
+ klass == QLatin1String("Codec/Parser/Video")) {
const GList *static_templates;
GstElementFactory *factory = GST_ELEMENT_FACTORY(feature);