Fix typos found by codespell (#31243)
* Fix typos found by codespell * Fix typos found by codespell * codespell: Furture ==> Future * Update test_config_flow.py * Update __init__.py * Spellcheck: successfull ==> successful * Codespell: unsuccesful ==> unsuccessful * Codespell: cant ==> can't * Codespell: firware ==> firmware * Codespell: mimick ==> mimic
This commit is contained in:
1 parent
a017c26234
commit
df7d2b3aeb
121 files changed
+170
-156
No files matched your search
@@ -95,7 +95,7 @@ def stream_worker(hass, stream, quit_event):
|
||||
if packet.is_keyframe:
|
||||
# Calculate the segment duration by multiplying the presentation
|
||||
# timestamp by the time base, which gets us total seconds.
|
||||
# By then dividing by the seqence, we can calculate how long
|
||||
# By then dividing by the sequence, we can calculate how long
|
||||
# each segment is, assuming the stream starts from 0.
|
||||
segment_duration = (packet.pts * packet.time_base) / sequence
|
||||
# Save segment to outputs
|
||||
|
||||
Reference in new issue
Block a user