diff options
author | Justin McPherson <justin.mcpherson@nokia.com> | 2009-11-11 03:48:36 (GMT) |
---|---|---|
committer | Justin McPherson <justin.mcpherson@nokia.com> | 2009-11-12 05:39:36 (GMT) |
commit | 132ad441481e676cb4e502797c0a4fc833152175 (patch) | |
tree | 98c4e2f082b4dafec80888d32e1416ca72e0e4de /src/3rdparty/phonon | |
parent | d429becf4d6e7585e21f5f34dd67241e54351786 (diff) | |
download | Qt-132ad441481e676cb4e502797c0a4fc833152175.zip Qt-132ad441481e676cb4e502797c0a4fc833152175.tar.gz Qt-132ad441481e676cb4e502797c0a4fc833152175.tar.bz2 |
gstreamer: Do not call gst_deinit() but do free the device and effect manager objects on backend destruction.
Integrated KDE change 1027566 by cguthrie.
Normally the backend is only destroyed once when the app exists, but calling gst_deinit()
means that the whole gstreamer system becomes unrecoverable. This means that if
you switch backends away from gstreamer and then back again it will not work.
Gstreamer devs recommend that you do not call gst_deinit() at all except in test cases.
Reviewed-by: Dmytro Poplavskiy
Diffstat (limited to 'src/3rdparty/phonon')
-rw-r--r-- | src/3rdparty/phonon/gstreamer/backend.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/gstreamer/backend.cpp b/src/3rdparty/phonon/gstreamer/backend.cpp index e1ffd1f..be1cf0a 100644 --- a/src/3rdparty/phonon/gstreamer/backend.cpp +++ b/src/3rdparty/phonon/gstreamer/backend.cpp @@ -85,7 +85,6 @@ Backend::Backend(QObject *parent, const QVariantList &) Backend::~Backend() { - gst_deinit(); } gboolean Backend::busCall(GstBus *bus, GstMessage *msg, gpointer data) |