WMF: release video controls before releasing the session

For the VideoRendererControl, also stop the video surface at the same
time.
This fixes a crash when changing video.

Change-Id: I49484f8b277c345dafb3e5947cf5d23df15546f3
Reviewed-by: Jason Barron <jason@cutehacks.com>
This commit is contained in:
Yoann Lopes
2012-12-18 22:16:13 +01:00
committed by The Qt Project
parent 6eb192f047
commit 60eb27dfef
5 changed files with 24 additions and 3 deletions

View File

@@ -59,6 +59,7 @@ public:
void setSurface(QAbstractVideoSurface *surface);
IMFActivate* createActivate();
void releaseActivate();
protected:
void customEvent(QEvent *event);