summaryrefslogtreecommitdiffstats
path: root/src/plugins/mediaservices/directshow/mediaplayer/directshowplayerservice.h
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2010-02-08 07:50:42 (GMT)
committerAndrew den Exter <andrew.den-exter@nokia.com>2010-02-08 07:50:42 (GMT)
commitda727b5aadf64128de0eb39fc1ce26e587211272 (patch)
tree2c2334c8f2f55fe128c1655ba3aa979216b22681 /src/plugins/mediaservices/directshow/mediaplayer/directshowplayerservice.h
parent923af5cd17dcfa2038998addec44f70154b385d2 (diff)
downloadQt-da727b5aadf64128de0eb39fc1ce26e587211272.zip
Qt-da727b5aadf64128de0eb39fc1ce26e587211272.tar.gz
Qt-da727b5aadf64128de0eb39fc1ce26e587211272.tar.bz2
Fix stall in graph when removing video and audio outputs.
Must remove the decoder as well as the output otherwise the graph wont be able to resume because a disconnected decoder cant. And the graph must be stopped to connect a new output.
Diffstat (limited to 'src/plugins/mediaservices/directshow/mediaplayer/directshowplayerservice.h')
-rw-r--r--src/plugins/mediaservices/directshow/mediaplayer/directshowplayerservice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/mediaservices/directshow/mediaplayer/directshowplayerservice.h b/src/plugins/mediaservices/directshow/mediaplayer/directshowplayerservice.h
index 576520e..906d23b 100644
--- a/src/plugins/mediaservices/directshow/mediaplayer/directshowplayerservice.h
+++ b/src/plugins/mediaservices/directshow/mediaplayer/directshowplayerservice.h
@@ -114,6 +114,7 @@ private:
int findStreamType(IPin *pin) const;
bool isConnected(IBaseFilter *filter, PIN_DIRECTION direction) const;
+ IBaseFilter *getConnected(IBaseFilter *filter, PIN_DIRECTION direction) const;
void run();