Hi, The only way to execute some of your code in the Scenegraph thread is to do it in the QAbstractVideoBuffer subclass you are passing to the QAbstractVideoSurface, in handle() if you provide a texture or in map() if you provide the frame data.
Yoann Lopes Senior Software Engineer - Digia, Qt Visit us on: http://qt.digia.com On Jun 22, 2013, at 4:04 AM, Luca Carlon wrote: Hi! I'm working on a plugin for hardware acceleration of Media Player Qt API. To do this I need to run some code on the scene graph thread. All the possible ways I've been given to do this require to somehow access the QQuickWindow in which the service is created. But can I do this from the QMediaService or from the QMediaPlayerControl subclass? My current implementation works but is very very bad. Can you suggest a proper way to access the QQuickView (or to somehow run code on the scene graph thread when needed) from those subclasses? Thanks! Luca _______________________________________________ Interest mailing list Interest@qt-project.org<mailto:Interest@qt-project.org> http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest