Skip to content

Commit

Permalink
fix secondary video minimize maximize
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Nov 6, 2023
1 parent 8226822 commit 9fc3d34
Show file tree
Hide file tree
Showing 5 changed files with 321 additions and 248 deletions.
20 changes: 0 additions & 20 deletions qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -93,26 +93,6 @@ ApplicationWindow {
}
}

// Loads the proper (platform-dependent) video widget for the secondary video, if enabled.
// r.n we only have a gstreamer - qmlglsink implementation for it
Loader {
anchors.fill: parent
z: 2.0
anchors.bottom: parent.bottom
source: {
if(settings.dev_qopenhd_n_cameras>1){
// R.N the only implementation for secondary video
if (QOPENHD_ENABLE_GSTREAMER_QMLGLSINK){
return "../video/SecondaryVideoGStreamer.qml";
}else{
console.warn("No secondary video implementation")
}
}else{
console.debug("Scondary video disabled");
}
return "";
}
}

ColorPicker {
id: colorPicker
Expand Down
1 change: 1 addition & 0 deletions qml/qml.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -259,5 +259,6 @@
<file>ui/widgets/PerformanceHorizonWidget2.qml</file>
<file>ui/configpopup/status/StatusCardsColumn.qml</file>
<file>ui/elements/SimpleLeftRightText.qml</file>
<file>video/SecondaryVideoGstreamerPane.qml</file>
</qresource>
</RCC>
Loading

0 comments on commit 9fc3d34

Please sign in to comment.