From 9fcfad70584f4630dc34ab9ad9b3ec85ee090fb8 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Mon, 28 Aug 2023 23:59:01 +0200 Subject: [PATCH] Fix supportStreaming in VideoDelegate --- src/qml/Component/Timeline/VideoDelegate.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qml/Component/Timeline/VideoDelegate.qml b/src/qml/Component/Timeline/VideoDelegate.qml index 29e18e324..ecbda3250 100644 --- a/src/qml/Component/Timeline/VideoDelegate.qml +++ b/src/qml/Component/Timeline/VideoDelegate.qml @@ -177,13 +177,13 @@ TimelineContainer { onDurationChanged: { if (!duration) { - vid.supportStreaming = false; + root.supportStreaming = false; } } onErrorChanged: { if (error != MediaPlayer.NoError) { - vid.supportStreaming = false; + root.supportStreaming = false; } } @@ -391,7 +391,7 @@ TimelineContainer { TapHandler { acceptedButtons: Qt.LeftButton - onTapped: if (vid.supportStreaming || root.progressInfo.completed) { + onTapped: if (root.supportStreaming || root.progressInfo.completed) { if (vid.playbackState == MediaPlayer.PlayingState) { vid.pause() } else {