mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-17 05:38:25 +03:00
clean up
This commit is contained in:
parent
e1f53e2d14
commit
1c759813ba
@ -901,8 +901,6 @@ async def vod_ts(
|
|||||||
if recording.end_time > end_ts:
|
if recording.end_time > end_ts:
|
||||||
duration -= int((recording.end_time - end_ts) * 1000)
|
duration -= int((recording.end_time - end_ts) * 1000)
|
||||||
|
|
||||||
# if segment is too short and was trimmed by clipFrom, pull clipFrom back
|
|
||||||
# to ensure a minimum playable segment length for HLS compatibility
|
|
||||||
# if segment is too short for reliable HLS playback and was trimmed
|
# if segment is too short for reliable HLS playback and was trimmed
|
||||||
# by clipFrom, pull clipFrom back to ensure a minimum playable length
|
# by clipFrom, pull clipFrom back to ensure a minimum playable length
|
||||||
if duration < min_hls_segment_ms and "clipFrom" in clip:
|
if duration < min_hls_segment_ms and "clipFrom" in clip:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user