nvcodec: Add suppport for environment based primary h264 decoder implementation
authorSeungha Yang <seungha@centricular.com>
Wed, 22 Apr 2020 05:57:12 +0000 (14:57 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 24 Apr 2020 09:23:10 +0000 (09:23 +0000)
commit4d585c64d11a12eb873459eb627d642c3f754b61
tree885c3db4e0a8d807ae735b07b48bea188725131b
parent9c21923f0451a88e81d0dc5b4cd6affdfc11a93d
nvcodec: Add suppport for environment based primary h264 decoder implementation

Introduce GST_USE_NV_STATELESS_CODEC environment to allow user to select
primary nvidia decoder implementation. In case the environment
GST_USE_NV_STATELESS_CODEC=h264 was set, old nvidia h264 decoder element
will not be registered. Instead, both nvh264dec and nvh264sldec
factory name will create gstcodecs based new nvidia h264 decoder element.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1198>
sys/nvcodec/gstnvh264dec.c
sys/nvcodec/gstnvh264dec.h
sys/nvcodec/plugin.c