diff --git a/main.py b/main.py index 61f8471..9978289 100644 --- a/main.py +++ b/main.py @@ -37,7 +37,7 @@ def playback_thread(file_path, state): if seek_req is not None: # PyAV seek takes time in AV_TIME_BASE (microseconds) target_timestamp = int(seek_req * av.time_base) - container.seek(target_timestamp, any_frame=False, backward=True, stream=stream) + container.seek(target_timestamp, any_frame=False, backward=True) with state.lock: state.seek_request = None iterator = container.decode(stream)