mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Clean up disabling audio in stream (#74038)
This commit is contained in:
parent
e706c6a15f
commit
fef21c02ee
@ -473,10 +473,6 @@ def stream_worker(
|
||||
audio_stream = None
|
||||
if audio_stream and audio_stream.name not in AUDIO_CODECS:
|
||||
audio_stream = None
|
||||
# These formats need aac_adtstoasc bitstream filter, but auto_bsf not
|
||||
# compatible with empty_moov and manual bitstream filters not in PyAV
|
||||
if container.format.name in {"hls", "mpegts"}:
|
||||
audio_stream = None
|
||||
# Some audio streams do not have a profile and throw errors when remuxing
|
||||
if audio_stream and audio_stream.profile is None:
|
||||
audio_stream = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user