From 06c7ff802c301257e47e2ee43e6adccf088e7af9 Mon Sep 17 00:00:00 2001 From: Alexandru Branza Date: Mon, 23 Dec 2024 11:43:28 +0200 Subject: [PATCH] Possible Fix for Background Issue --- src/ShellVideo/ShellVideo.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ShellVideo/ShellVideo.js b/src/ShellVideo/ShellVideo.js index 6966fe1..356ad0c 100644 --- a/src/ShellVideo/ShellVideo.js +++ b/src/ShellVideo/ShellVideo.js @@ -116,6 +116,7 @@ function ShellVideo(options) { break; } case 'duration': { + setBackground(false); var intDuration = args.data | 0; // Accumulate average duration over time. if it is greater than minClipDuration // and equal to the currently reported duration, it is returned as video length. @@ -325,8 +326,6 @@ function ShellVideo(options) { stream = commandArgs.stream; onPropChanged('stream'); - setBackground(false); - ipc.send('mpv-set-prop', ['no-sub-ass']); // opengl-cb is an alias for the new name "libmpv", as shown in mpv's video/out/vo.c aliases