Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix(video-decoder): none chunk spliter
Browse files Browse the repository at this point in the history
  • Loading branch information
felix committed Oct 11, 2019
1 parent 4a5e984 commit 2705c28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnes/preprocessor/video/video_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ def apply(self, doc: 'gnes_pb2.Document') -> None:
c.blob.CopyFrom(array2blob(frame))
c.offset = i
c.weight = 1.0
elif self.chunk_spliter == 'none':
pass
elif self.chunk_spliter == 'shot':
raise NotImplementedError
else:
Expand Down

0 comments on commit 2705c28

Please sign in to comment.