Fix issue sharing OpenGL context from render thread on OS X
authorAndy Nichols <andy.nichols@digia.com>
Mon, 8 Oct 2012 15:37:44 +0000 (17:37 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 9 Oct 2012 11:46:31 +0000 (13:46 +0200)
commitbc7e9fe7c7a42e1cad7572b85982e1ce73f80dd1
tree2747089e9108236f70f880ee6dc994c2c663788e
parent13ce3d921a9fa6f920433ee7b5beb6f71c784334
Fix issue sharing OpenGL context from render thread on OS X

On OS X when running in QtQuick 2 examples in debug mode we fail an
assert because we try to set a dynamic property using
QObject::setProperty from the render thread, while the object exists in
the main thread.  Now we call setProperty from the correct thread.

Change-Id: I3f26ead0f68fadcded472bf5c9014a4025f0a03e
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Reviewed-by: Jason Barron <jason.barron@digia.com>
src/imports/multimedia/qdeclarativevideooutput_render.cpp
src/imports/multimedia/qdeclarativevideooutput_render_p.h