Skip to content

Commit

Permalink
Possible Fix for Background Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jaruba committed Dec 23, 2024
1 parent b024c51 commit 06c7ff8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ShellVideo/ShellVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 06c7ff8

Please sign in to comment.