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:
committed by
The Qt Project
parent
6eb192f047
commit
60eb27dfef
@@ -59,6 +59,7 @@ public:
|
||||
void setSurface(QAbstractVideoSurface *surface);
|
||||
|
||||
IMFActivate* createActivate();
|
||||
void releaseActivate();
|
||||
|
||||
protected:
|
||||
void customEvent(QEvent *event);
|
||||
|
||||
Reference in New Issue
Block a user