must kill encoder, not terminate
This commit is contained in:
parent
6f38daec14
commit
3eacce664e
@ -129,9 +129,9 @@ def output():
|
|||||||
|
|
||||||
# close encoder when nothing is to do anymore
|
# close encoder when nothing is to do anymore
|
||||||
if ff_proc.encoder.poll() is None:
|
if ff_proc.encoder.poll() is None:
|
||||||
ff_proc.encoder.terminate()
|
ff_proc.encoder.kill()
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
if ff_proc.encoder.poll() is None:
|
if ff_proc.encoder.poll() is None:
|
||||||
ff_proc.encoder.terminate()
|
ff_proc.encoder.kill()
|
||||||
ff_proc.encoder.wait()
|
ff_proc.encoder.wait()
|
||||||
|
Loading…
Reference in New Issue
Block a user