kill encoder instead of terminate

This commit is contained in:
jb-alvarado 2021-05-18 15:50:56 +02:00
parent c1cfb24648
commit 72645f9034

View File

@ -685,7 +685,7 @@ def terminate_processes(watcher=None):
ff_proc.decoder.terminate()
if ff_proc.encoder and ff_proc.encoder.poll() is None:
ff_proc.encoder.terminate()
ff_proc.encoder.kill()
if watcher:
watcher.stop()