diff options
author | Justin McPherson <justin.mcpherson@nokia.com> | 2009-11-11 03:51:21 (GMT) |
---|---|---|
committer | Justin McPherson <justin.mcpherson@nokia.com> | 2009-11-12 05:39:37 (GMT) |
commit | 77a9c7973bd9091a39abe0e03d9b30292a7a2431 (patch) | |
tree | 13277b28ca7e47e9a7e09411ec2952361cbdded1 /src/3rdparty | |
parent | 5edc0f87fbad652a8399a43d0520301ed37baaef (diff) | |
download | Qt-77a9c7973bd9091a39abe0e03d9b30292a7a2431.zip Qt-77a9c7973bd9091a39abe0e03d9b30292a7a2431.tar.gz Qt-77a9c7973bd9091a39abe0e03d9b30292a7a2431.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.cpp | 11 |
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); |