Skip to content

Commit

Permalink
Use method in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed Nov 25, 2023
1 parent 3d80114 commit f706204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_encode.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ def write_rgb_rotate(output):
)
frame.planes[0].update(image.tobytes())

for packet in stream.encode(frame):
for packet in stream.encode_lazy(frame):
output.mux(packet)

for packet in stream.encode(None):
for packet in stream.encode_lazy(None):
output.mux(packet)


Expand Down

0 comments on commit f706204

Please sign in to comment.