msdkvpp: clear the parameters after closing the session
authorHaihao Xiang <haihao.xiang@intel.com>
Thu, 2 Apr 2020 02:44:31 +0000 (10:44 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Mon, 11 May 2020 02:16:44 +0000 (02:16 +0000)
commit98600942e4bed0e46e9bdeab97a32f9dc5825fae
tree3ea5bc02a1724430cf051e60e00d0d18c2e6a1ca
parentd6f6c51f3c3e7ca7667f128b2cabe207775e38f7
msdkvpp: clear the parameters after closing the session

Otherwise the stale values are used for the new process.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1159>
sys/msdk/gstmsdkvpp.c