瀏覽代碼

mpv no longer spams stderr while playing

master
mortie 7 年之前
父節點
當前提交
f6b8e18deb
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      js/play/player.js

+ 1
- 1
js/play/player.js 查看文件

@@ -98,7 +98,7 @@ exports.play = function(path, subFile, cb) {
args.push(subFile);
}

var lchild = spawn("mpv", args, { stdio: "inherit" });
var lchild = spawn("mpv", args, { stdio: ["inherit", "inherit", "ignore"] });
child = lchild;

lchild.running = true;

Loading…
取消
儲存