nvenc: Query supported minimum resolution
authorSeungha Yang <seungha.yang@navercorp.com>
Thu, 28 Nov 2019 12:30:18 +0000 (21:30 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 16 Jan 2020 15:24:03 +0000 (15:24 +0000)
commite8d527df939f0c2c1a004786fee961228fb82586
tree814ec590755c37eea128d65d109a31d0f2c6f4d0
parent58a663c1e5ed986ebdb5a166ed45a536e7f4af8e
nvenc: Query supported minimum resolution

Hard-coded 16x16 resolution is likely to differ from the device's support
in most cases. If we can use NV_ENC_CAPS_WIDTH_MIN and NV_ENC_CAPS_HEIGHT_MIN,
update pad template with returned value.
sys/nvcodec/gstnvenc.c