mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
Clean up disabling audio in stream (#74038)
This commit is contained in:
@@ -473,10 +473,6 @@ def stream_worker(
|
|||||||
audio_stream = None
|
audio_stream = None
|
||||||
if audio_stream and audio_stream.name not in AUDIO_CODECS:
|
if audio_stream and audio_stream.name not in AUDIO_CODECS:
|
||||||
audio_stream = None
|
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
|
# Some audio streams do not have a profile and throw errors when remuxing
|
||||||
if audio_stream and audio_stream.profile is None:
|
if audio_stream and audio_stream.profile is None:
|
||||||
audio_stream = None
|
audio_stream = None
|
||||||
|
Reference in New Issue
Block a user