Remove skip_sidx container option in stream (#39970)

* Remove skip_sidx container option

* Add comment
This commit is contained in:
uvjustin 2020-09-13 03:19:37 +08:00 committed by Bram Kragten
parent 172a02a605
commit d0e6b3e268

View File

@ -148,7 +148,8 @@ class HlsStreamOutput(StreamOutput):
def container_options(self) -> Callable[[int], dict]:
"""Return Callable which takes a sequence number and returns container options."""
return lambda sequence: {
"movflags": "frag_custom+empty_moov+default_base_moof+skip_sidx+frag_discont",
# Removed skip_sidx - see https://github.com/home-assistant/core/pull/39970
"movflags": "frag_custom+empty_moov+default_base_moof+frag_discont",
"avoid_negative_ts": "make_non_negative",
"fragment_index": str(sequence),
}