update hwaccel docs for nvidia docker-compose

This commit is contained in:
Patrick Fruh 2022-05-18 21:33:08 +02:00 committed by Blake Blackshear
parent d2c3cdcf04
commit 7b2b5bfa71

View File

@ -69,7 +69,9 @@ services:
resources:
reservations:
devices:
- capabilities: [gpu]
- driver: nvidia
count: 1
capabilities: [gpu]
```
The decoder you need to pass in the `hwaccel_args` will depend on the input video.