summaryrefslogtreecommitdiffstats
path: root/src/plugins/mediaservices/qt7
diff options
context:
space:
mode:
authorDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2010-03-29 03:27:15 (GMT)
committerDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2010-03-29 03:27:15 (GMT)
commit6a90b60d5c794470334e961d724b2f26a082cad7 (patch)
tree2924f879b83f8385bc1f05d8529584d8ba6cdd42 /src/plugins/mediaservices/qt7
parentc90402f06dbd84a372209fc643f0e3463c41e48a (diff)
downloadQt-6a90b60d5c794470334e961d724b2f26a082cad7.zip
Qt-6a90b60d5c794470334e961d724b2f26a082cad7.tar.gz
Qt-6a90b60d5c794470334e961d724b2f26a082cad7.tar.bz2
QuickTime media backend: ensure quicktime notification are
received in the player session thread. Reviewed-by: Justin McPherson
Diffstat (limited to 'src/plugins/mediaservices/qt7')
-rw-r--r--src/plugins/mediaservices/qt7/mediaplayer/qt7playersession.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/mediaservices/qt7/mediaplayer/qt7playersession.mm b/src/plugins/mediaservices/qt7/mediaplayer/qt7playersession.mm
index f35a9fa..65c9f7d 100644
--- a/src/plugins/mediaservices/qt7/mediaplayer/qt7playersession.mm
+++ b/src/plugins/mediaservices/qt7/mediaplayer/qt7playersession.mm
@@ -128,25 +128,25 @@
- (void) processEOS:(NSNotification *)notification
{
Q_UNUSED(notification);
- m_session->processEOS();
+ QMetaObject::invokeMethod(m_session, "processEOS", Qt::AutoConnection);
}
- (void) processLoadStateChange:(NSNotification *)notification
{
Q_UNUSED(notification);
- m_session->processLoadStateChange();
+ QMetaObject::invokeMethod(m_session, "processLoadStateChange", Qt::AutoConnection);
}
- (void) processVolumeChange:(NSNotification *)notification
{
Q_UNUSED(notification);
- m_session->processVolumeChange();
+ QMetaObject::invokeMethod(m_session, "processVolumeChange", Qt::AutoConnection);
}
- (void) processNaturalSizeChange :(NSNotification *)notification
{
Q_UNUSED(notification);
- m_session->processNaturalSizeChange();
+ QMetaObject::invokeMethod(m_session, "processNaturalSizeChange", Qt::AutoConnection);
}
@end