msdkenc: add macro definitions to avoid the gst-inspect error
authorTong Wu <tong1.wu@intel.com>
Tue, 22 Mar 2022 02:37:59 +0000 (10:37 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 23 Mar 2022 04:34:06 +0000 (04:34 +0000)
commit2a703678c03b32d6c54070470589d6dac3103dee
treef0285bb3f2723d2be6354a9d63b10838ba34f833
parent1170ab3c296d6e5b01367f761814832ccbf49775
msdkenc: add macro definitions to avoid the gst-inspect error

Since the strings are empty for GST_MSDK_CAPS_MAKE_WITH_DMABUF_FEATURE
and GST_MSDK_CAPS_MAKE_WITH_VA_FEATURE, when excuting
gst-inspect-1.0.exe msdkh265enc, there will be convert static caps error
because of the extra semicolon between two empty strings. Now macro
definitions are added to avoid this issue.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2004>
subprojects/gst-plugins-bad/sys/msdk/gstmsdkenc.c
subprojects/gst-plugins-bad/sys/msdk/gstmsdkh265enc.c
subprojects/gst-plugins-bad/sys/msdk/gstmsdkvp9enc.c