don't keep mpv open

This commit is contained in:
Ren Tatsumoto 2023-06-22 21:07:36 +03:00
parent 6cbf9ac3c5
commit edb58822c6

View file

@ -222,6 +222,7 @@ encoder.mkargs_video = function(clip_filename)
'mpv', 'mpv',
mp.get_property('path'), mp.get_property('path'),
'--loop-file=no', '--loop-file=no',
'--keep-open=no',
'--no-ocopy-metadata', '--no-ocopy-metadata',
'--no-sub', '--no-sub',
'--audio-channels=2', '--audio-channels=2',
@ -262,6 +263,7 @@ encoder.mkargs_audio = function(clip_filename)
'mpv', 'mpv',
mp.get_property('path'), mp.get_property('path'),
'--loop-file=no', '--loop-file=no',
'--keep-open=no',
'--no-ocopy-metadata', '--no-ocopy-metadata',
'--no-sub', '--no-sub',
'--audio-channels=2', '--audio-channels=2',