Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions qml/video/SecondaryVideoAndroid.qml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ import OpenHD 1.0
SurfaceTexture {
id: secondaryAndroidVideo
anchors.fill: parent
// Ensure the surface follows the container sizing logic from the surrounding
// SecondaryVideoGStreamer component so Android mirrors the Linux behaviour.
width: parent ? parent.width : 0
height: parent ? parent.height : 0
// We only want the outer widget's mouse areas (for resize / maximize) to
// react to clicks, so keep the texture itself passive.
enabled: false

Component.onCompleted: {
if (typeof _secondaryMediaPlayer !== "undefined" && _secondaryMediaPlayer) {
Expand Down
Loading