fix(security): classify DeepStream as GPU backend and enforce pixel limits (#50755)
Signed-off-by: jperezde <jperezde@redhat.com>
This commit is contained in:
@@ -35,6 +35,7 @@ class VideoMediaIO(MediaIO[MediaWithBytes[tuple[npt.NDArray, dict[str, Any]]]]):
|
||||
# Decoder GPU memory is reserved from the startup value.
|
||||
runtime_kwargs = dict(runtime_kwargs)
|
||||
runtime_kwargs.pop("hw_decoders", None)
|
||||
runtime_kwargs.pop("pool_size", None)
|
||||
|
||||
# Block request-level selection of GPU video backends that
|
||||
# were not configured (and VRAM-reserved) at startup.
|
||||
|
||||
Reference in New Issue
Block a user