Pass frag_duration as integer (#86375)

fixes undefined
This commit is contained in:
uvjustin
2023-01-23 03:28:17 +11:00
committed by Franck Nijhof
parent 974601cc2e
commit 79a3d2e6f6

View File

@@ -192,7 +192,7 @@ class StreamMuxer:
# of the range, hoping that the parts stay pretty well bounded, and we adjust the part
# durations a bit in the hls metadata so that everything "looks" ok.
"frag_duration": str(
self._stream_settings.part_target_duration * 9e5
int(self._stream_settings.part_target_duration * 9e5)
),
}
if self._stream_settings.ll_hls