fix(security): classify DeepStream as GPU backend and enforce pixel limits (#50755)

Signed-off-by: jperezde <jperezde@redhat.com>
This commit is contained in:
Juan Pérez de Algaba
2026-08-03 08:23:09 +00:00
committed by GitHub
parent 4635cc3e8f
commit d83eb0b36b
3 changed files with 35 additions and 0 deletions
+1
View File
@@ -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.