fix: remove stream parameter from container seek
Co-authored-by: aider (gemini/gemini-3.1-pro-preview) <aider@aider.chat>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user