Skip to content

Commit

Permalink
Resolution subsampler passes through metadata (#273)
Browse files Browse the repository at this point in the history
Co-authored-by: iejMac <[email protected]>
  • Loading branch information
MattUnderscoreZhang and iejMac authored Jan 17, 2024
1 parent 53b77ab commit d554820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video2dataset/subsamplers/resolution_subsampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ def __call__(self, streams, metadata=None):
with open(f"{tmpdir}/output.mp4", "rb") as f:
subsampled_bytes.append(f.read())
streams["video"] = subsampled_bytes
return streams, None, None
return streams, metadata, None

0 comments on commit d554820

Please sign in to comment.