Make gstreamer player backend reserve/release video resource.

Use request/release of various video related controls as an indication for the decision.

Change-Id: I3a2a288c7c46ca62459896745bbdda26961bb181
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
Ling Hu
2012-03-22 10:41:50 +10:00
committed by Qt by Nokia
parent 7e877a76db
commit dceabd4b5c
2 changed files with 28 additions and 1 deletions

View File

@@ -86,6 +86,10 @@ private:
QMediaControl *m_videoWindow;
QMediaControl *m_videoWidget;
#endif
void increaseVideoRef();
void decreaseVideoRef();
int m_videoReferenceCount;
};
QT_END_NAMESPACE