Spelling fixes (#25666)
This commit is contained in:
1 parent
2f7c57b257
commit
a54ade1189
38 files changed
+52
-52
No files matched your search
@@ -114,7 +114,7 @@ class StreamOutput:
|
||||
@callback
|
||||
def put(self, segment: Segment) -> None:
|
||||
"""Store output."""
|
||||
# Start idle timeout when we start recieving data
|
||||
# Start idle timeout when we start receiving data
|
||||
if self._unsub is None:
|
||||
self._unsub = async_call_later(
|
||||
self._stream.hass, self.timeout, self._timeout
|
||||
|
||||
@@ -63,7 +63,7 @@ def stream_worker(hass, stream, quit_event):
|
||||
sequence = 1
|
||||
# Holds the generated silence that needs to be muxed into the output
|
||||
audio_packets = {}
|
||||
# The presentation timestamp of the first video packet we recieve
|
||||
# The presentation timestamp of the first video packet we receive
|
||||
first_pts = 0
|
||||
# The decoder timestamp of the latest packet we processed
|
||||
last_dts = None
|
||||
@@ -130,7 +130,7 @@ def stream_worker(hass, stream, quit_event):
|
||||
# If we are attaching to a live stream that does not reset
|
||||
# timestamps for us, we need to do it ourselves by recording
|
||||
# the first presentation timestamp and subtracting it from
|
||||
# subsequent packets we recieve.
|
||||
# subsequent packets we receive.
|
||||
if (packet.pts * packet.time_base) > 1:
|
||||
first_pts = packet.pts
|
||||
packet.dts = 0
|
||||
|
||||
Reference in new issue
Block a user