From d5e400e8a4e19a45180ae83466f8e4b8f480c01a Mon Sep 17 00:00:00 2001 From: Andreas Gattringer Date: Wed, 17 Jul 2024 02:37:13 +0200 Subject: [PATCH] stop video on destruction to avoid segfault --- src/timeline/VideoComponent.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/timeline/VideoComponent.qml b/src/timeline/VideoComponent.qml index 6c725e7a5..fe764b29d 100644 --- a/src/timeline/VideoComponent.qml +++ b/src/timeline/VideoComponent.qml @@ -92,6 +92,8 @@ Video { fillMode: VideoOutput.PreserveAspectFit + Component.onDestruction: root.stop() + states: [ State { name: "notDownloaded"