Приветствую!
Есть необходимость вывести несколько VideoOuput вместе в QML,
код вывода примерно такой:
GridLayout {
anchors.fill: parent
columns: 3
Rectangle {
color: "red"
Layout.fillHeight: true
Layout.fillWidth: true
VideoOutput {
id: videoOutput
clip: true
anchors.fill: parent
source: client1;
}
}
Rectangle {
color: "blue"
Layout.fillHeight: true
Layout.fillWidth: true
VideoOutput {
id: videoOutput2
clip: true
anchors.fill: parent
source: client2;
}
}
Rectangle {
color: "green"
Layout.fillHeight: true
Layout.fillWidth: true
}
}
Но одновременно два работать не хотят.
Думал просто от одного источника не хотя, но и от нескольких источников та же не хотят.
Вопрос - как пофиксить?
P.S. Qt 5.6