Skip to content

Commit

Permalink
Fix multi-frame decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
talmo committed May 5, 2024
1 parent d35f07e commit 31341da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sleap_io/io/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ def _read_frames(self, frame_inds: list) -> np.ndarray:

if "format" in ds.attrs:
imgs = np.stack(
[self.decode_embedded(img, ds.attrs["format"]) for img in imgs],
[self.decode_embedded(img) for img in imgs],
axis=0,
)

Expand Down

0 comments on commit 31341da

Please sign in to comment.