From 16097f3f7051e43b1f21526dd0bef7e37c316904 Mon Sep 17 00:00:00 2001 From: felix Date: Thu, 10 Oct 2019 13:17:43 +0800 Subject: [PATCH] fix(video-decoder): fix name --- gnes/preprocessor/__init__.py | 2 +- gnes/preprocessor/video/{video_decode.py => video_decoder.py} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename gnes/preprocessor/video/{video_decode.py => video_decoder.py} (98%) diff --git a/gnes/preprocessor/__init__.py b/gnes/preprocessor/__init__.py index de83a821..ccae1ae2 100644 --- a/gnes/preprocessor/__init__.py +++ b/gnes/preprocessor/__init__.py @@ -33,12 +33,12 @@ 'FFmpegVideoSegmentor': 'video.ffmpeg', 'ShotDetectPreprocessor': 'video.shotdetect', 'VideoEncoderPreprocessor': 'video.video_encoder', + 'VideoDecoderPreprocessor': 'video.video_decoder', 'AudioVanilla': 'audio.audio_vanilla', 'BaseAudioPreprocessor': 'base', 'RawChunkPreprocessor': 'base', 'GifChunkPreprocessor': 'video.ffmpeg', 'VggishPreprocessor': 'audio.vggish_example', - 'VideoDecodePreprocessor': 'video.video_decode', 'FrameSelectPreprocessor': 'video.frame_select' } diff --git a/gnes/preprocessor/video/video_decode.py b/gnes/preprocessor/video/video_decoder.py similarity index 98% rename from gnes/preprocessor/video/video_decode.py rename to gnes/preprocessor/video/video_decoder.py index 7c3432f1..e20a8a60 100644 --- a/gnes/preprocessor/video/video_decode.py +++ b/gnes/preprocessor/video/video_decoder.py @@ -19,7 +19,7 @@ from ..io_utils import video as video_util -class VideoDecodePreprocessor(BaseVideoPreprocessor): +class VideoDecoderPreprocessor(BaseVideoPreprocessor): store_args_kwargs = True def __init__(self,