diff --git a/gnes/preprocessor/video/video_decoder.py b/gnes/preprocessor/video/video_decoder.py index e20a8a60..bf734bcf 100644 --- a/gnes/preprocessor/video/video_decoder.py +++ b/gnes/preprocessor/video/video_decoder.py @@ -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: