From ca8107ae1997937afc0b61eec58f8bd0fb625454 Mon Sep 17 00:00:00 2001 From: iperov Date: Sun, 8 Aug 2021 13:13:39 +0400 Subject: [PATCH] FileSource, autorewind default true. --- apps/DeepFaceLive/backend/FileSource.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/DeepFaceLive/backend/FileSource.py b/apps/DeepFaceLive/backend/FileSource.py index 3405e79..f6c116d 100644 --- a/apps/DeepFaceLive/backend/FileSource.py +++ b/apps/DeepFaceLive/backend/FileSource.py @@ -144,8 +144,8 @@ class FileSourceWorker(BackendWorker): state.fp_state = FPState() target_width = state.fp_state.target_width = fp.get_target_width() fps = state.fp_state.fps = fp.get_fps() - is_realtime = state.fp_state.is_realtime = fp.get_is_realtime() - is_autorewind = state.fp_state.is_autorewind = fp.get_is_autorewind() + is_realtime = state.fp_state.is_realtime = fp.set_is_realtime(True) + is_autorewind = state.fp_state.is_autorewind = fp.set_is_autorewind(True) cs.target_width.enable() cs.target_width.set_config(lib_csw.Number.Config(min=0, max=4096, step=4, decimals=0, zero_is_auto=True, allow_instant_update=True))