qmlglsink: Add itemInitialized signal to QML item
authorCarlos Rafael Giani <dv@pseudoterminal.org>
Sun, 21 May 2017 14:01:14 +0000 (16:01 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 14 Aug 2017 11:51:43 +0000 (14:51 +0300)
commita13e8b3efa0e35d7dac7c57504339ac75aeae71e
tree307a1516103ab390e2162d956aeb5a0051926c0b
parentddf755b75d031767f7348fcdd3513f44edbd1178
qmlglsink: Add itemInitialized signal to QML item

This is useful for autoplay for example. With autoplay, it is necessary to
wait until the scene graph is fully set up. This signal is emitted once the
QML item node is ready. So, inside a connected slot, the pipeline's state
can be set to PLAYING to automatically start playback as soon as the QML
script is loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=786246
ext/qt/qtitem.cc
ext/qt/qtitem.h