From 201f3182ca2743945f7fce56edac4f6695d78c47 Mon Sep 17 00:00:00 2001
From: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
Date: Thu, 22 Feb 2024 18:12:18 -0500
Subject: [PATCH] videoview: prevent stale rendered frame from showing on start

Gitlab: #1576
Change-Id: I85d0b18bd15f531b1d029de1f0a88dea2d34a4c4
---
 src/app/commoncomponents/VideoView.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/commoncomponents/VideoView.qml b/src/app/commoncomponents/VideoView.qml
index 9f345fa37..6c6aebdf4 100644
--- a/src/app/commoncomponents/VideoView.qml
+++ b/src/app/commoncomponents/VideoView.qml
@@ -32,7 +32,7 @@ Item {
     property real blurRadius: 0
 
     // We need to know if the frames are being rendered to the screen or not.
-    readonly property bool isRendering: videoProvider.activeRenderers[rendererId] !== undefined
+    readonly property bool isRendering: videoProvider.activeRenderers[rendererId] === true
 
     // This rect describes the actual rendered content rectangle
     // as the VideoOutput component may use PreserveAspectFit
-- 
GitLab