diff options
author | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2010-03-29 03:27:15 (GMT) |
---|---|---|
committer | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2010-03-29 03:27:15 (GMT) |
commit | 6a90b60d5c794470334e961d724b2f26a082cad7 (patch) | |
tree | 2924f879b83f8385bc1f05d8529584d8ba6cdd42 /src/plugins/mediaservices/qt7 | |
parent | c90402f06dbd84a372209fc643f0e3463c41e48a (diff) | |
download | Qt-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.mm | 8 |
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 |