diff --git a/ffplayout/output/hls.py b/ffplayout/output/hls.py index 917ed44c..865eb1e7 100644 --- a/ffplayout/output/hls.py +++ b/ffplayout/output/hls.py @@ -121,9 +121,9 @@ def output(): # close encoder when nothing is to do anymore if ff_proc.encoder.poll() is None: - ff_proc.encoder.kill() + ff_proc.encoder.terminate() finally: if ff_proc.encoder.poll() is None: - ff_proc.encoder.kill() + ff_proc.encoder.terminate() ff_proc.encoder.wait()