Fix GPUHLSOutput method name (write not write_frame)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -276,7 +276,7 @@ class GPUHLSOutput:
|
||||
stderr=subprocess.DEVNULL,
|
||||
)
|
||||
|
||||
def write_frame(self, frame: Union[np.ndarray, 'cp.ndarray'], t: float = 0):
|
||||
def write(self, frame: Union[np.ndarray, 'cp.ndarray'], t: float = 0):
|
||||
"""Write a frame using GPU encoding."""
|
||||
if not self._is_open:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user