Skip to content

Commit

Permalink
Added flush mode to video player to fix black screen on media loop
Browse files Browse the repository at this point in the history
  • Loading branch information
steawth committed Jul 28, 2023
1 parent 0f774c4 commit f01234c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui-qml/src/components/ImageScreen.qml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ Page {

sourceComponent: VideoPlayer {
fillMode: VideoOutput.PreserveAspectFit
flushMode: VideoOutput.FirstFrame
source: showHd || !hasSample ? modelData.fileUrl : modelData.sampleUrl
clip: true
autoPlay: index == swipeView.currentIndex
Expand Down

0 comments on commit f01234c

Please sign in to comment.