mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-30 13:48:07 +02:00
Ensure audio listener is defined before trying to stop ffmpeg (#17045)
This commit is contained in:
parent
9f9117c318
commit
1c6700c688
@ -351,6 +351,7 @@ class AudioEventMaintainer(threading.Thread):
|
||||
|
||||
self.read_audio()
|
||||
|
||||
if self.audio_listener:
|
||||
stop_ffmpeg(self.audio_listener, self.logger)
|
||||
self.logpipe.close()
|
||||
self.requestor.stop()
|
||||
|
Loading…
Reference in New Issue
Block a user