cleanup and making it work on raspberry pi

This commit is contained in:
talksik
2023-08-29 09:02:05 -07:00
parent 3ce67d907a
commit 0a04185f66
3 changed files with 18 additions and 60 deletions
+2 -3
View File
@@ -30,11 +30,11 @@ ApplicationWindow {
MediaPlayer {
id: player
autoPlay: true
source: "gst-pipeline: videotestsrc ! qtvideosink"
source: "gst-pipeline: videotestsrc ! videoconvert ! qtvideosink"
}
VideoOutput {
id: videoOutput
id: output
anchors.fill: parent
source: player
}
@@ -43,7 +43,6 @@ ApplicationWindow {
color: "red"
border.width: 1
border.color: "white"
anchors.bottom: video.bottom
anchors.bottomMargin: 15
anchors.horizontalCenter: parent.horizontalCenter
width : parent.width - 100