Skip to content

Commit

Permalink
Don't need this assert
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed Mar 9, 2024
1 parent c098ab1 commit de35380
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion auto_editor/render/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ def make_image_cache(tl: v3) -> dict[tuple[FileInfo, int], np.ndarray]:
for obj in clip:
if isinstance(obj, TlImage) and obj.src not in img_cache:
with av.open(obj.src.path) as cn:
assert isinstance(cn, av.InputContainer)
my_stream = cn.streams.video[0]
for frame in cn.decode(my_stream):
if obj.width != 0:
Expand Down

0 comments on commit de35380

Please sign in to comment.