summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/ds9/backendnode.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2010-04-16 01:03:29 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-04-16 01:03:29 (GMT)
commit95f9daf2402d5b8c92c9ca3afbd948b2310bf253 (patch)
treed493935776bf2d2c115b0b3125c1a51ffdde9707 /src/3rdparty/phonon/ds9/backendnode.cpp
parent05c4219c7689e012a096d1b9484c9c1aebc92bc1 (diff)
downloadQt-95f9daf2402d5b8c92c9ca3afbd948b2310bf253.zip
Qt-95f9daf2402d5b8c92c9ca3afbd948b2310bf253.tar.gz
Qt-95f9daf2402d5b8c92c9ca3afbd948b2310bf253.tar.bz2
Revert "Revert "Update Phonon ds9 backend to 4.4.0.""
This reverts commit 1d267f33d179abbac753a72c2235e7fb07c4def7.
Diffstat (limited to 'src/3rdparty/phonon/ds9/backendnode.cpp')
-rw-r--r--src/3rdparty/phonon/ds9/backendnode.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/3rdparty/phonon/ds9/backendnode.cpp b/src/3rdparty/phonon/ds9/backendnode.cpp
index 737ab7b..7e0b3cd 100644
--- a/src/3rdparty/phonon/ds9/backendnode.cpp
+++ b/src/3rdparty/phonon/ds9/backendnode.cpp
@@ -57,25 +57,6 @@ namespace Phonon
BackendNode::~BackendNode()
{
- //this will remove the filter from the graph
- FILTER_INFO info;
- for(int i = 0; i < FILTER_COUNT; ++i) {
- const Filter &filter = m_filters[i];
- if (!filter)
- continue;
- filter->QueryFilterInfo(&info);
- if (info.pGraph) {
- HRESULT hr = info.pGraph->RemoveFilter(filter);
-
- if (FAILED(hr) && m_mediaObject) {
- m_mediaObject->ensureStopped();
-
- hr = info.pGraph->RemoveFilter(filter);
- }
- Q_ASSERT(SUCCEEDED(hr));
- info.pGraph->Release();
- }
- }
}
void BackendNode::setMediaObject(MediaObject *mo)