summaryrefslogtreecommitdiff
path: root/src/gsttools
diff options
context:
space:
mode:
authorJonas Rabbe <jonas.rabbe@nokia.com>2012-03-28 15:58:59 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-02 00:33:14 +0200
commit6c2f9f0f52d35a722b11af69cd85f6c066df7d61 (patch)
treeca0fa749755bfb1af622d45805166fda84605956 /src/gsttools
parentf7739d86217c22f255692858d725186f1b10cf23 (diff)
downloadqtmultimedia-6c2f9f0f52d35a722b11af69cd85f6c066df7d61.tar.gz
Moved video plugins around to prevent accidental unloading
If several different plugins are located in the same place, and are loaded by different instances of QFactoryLoader, like we use, then plugins that are used elsewhere can be unloaded. By ensuring that the plugins are alone in their directory, then they will not have this problem. Change-Id: Id95b81ddf46435278fe43a4769e2d39f6b973a84 Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> Reviewed-by: Mithra Pattison <mithra.pattison@nokia.com>
Diffstat (limited to 'src/gsttools')
-rw-r--r--src/gsttools/qvideosurfacegstsink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsttools/qvideosurfacegstsink.cpp b/src/gsttools/qvideosurfacegstsink.cpp
index c1f2792cc..1d6a10572 100644
--- a/src/gsttools/qvideosurfacegstsink.cpp
+++ b/src/gsttools/qvideosurfacegstsink.cpp
@@ -58,7 +58,7 @@
//#define DEBUG_VIDEO_SURFACE_SINK
Q_GLOBAL_STATIC_WITH_ARGS(QMediaPluginLoader, bufferPoolLoader,
- (QGstBufferPoolInterface_iid, QLatin1String("video"), Qt::CaseInsensitive))
+ (QGstBufferPoolInterface_iid, QLatin1String("video/bufferpool"), Qt::CaseInsensitive))
QVideoSurfaceGstDelegate::QVideoSurfaceGstDelegate(