msdk: ignore MFX_ERR_UNDEFINED_BEHAVIOR when loading a plugin
authorHaihao Xiang <haihao.xiang@intel.com>
Thu, 7 Nov 2019 07:54:47 +0000 (15:54 +0800)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 10 Dec 2019 17:23:53 +0000 (17:23 +0000)
commitb18be3562c58d612b719c70fc6142fa18a77537d
treed1f714a5f480015a6c245c2729ffdd8bb1163fb4
parentd963d442c5bccf61e921cba6407f6310402360ce
msdk: ignore MFX_ERR_UNDEFINED_BEHAVIOR when loading a plugin

An issue can be seen when using msdkh265enc with bitrate change in
playing state. The root cause is the corresponding plugin is loaded
again.

Returning MFX_ERR_UNDEFINED_BEHAVIOR from MSDK just means the plugin has
been loaded, so we may ignore this error when doing configuation again
in the sub class, otherwise the pipeline will be interrupted
sys/msdk/gstmsdkh265dec.c
sys/msdk/gstmsdkh265enc.c
sys/msdk/gstmsdkvp8dec.c
sys/msdk/gstmsdkvp9dec.c
sys/msdk/gstmsdkvp9enc.c
sys/msdk/msdk.c
sys/msdk/msdk.h