msdk: use mfxU32 instead of uint32_t
authorTong Wu <tong1.wu@intel.com>
Fri, 1 Apr 2022 07:35:17 +0000 (15:35 +0800)
committerSeungha Yang <seungha@centricular.com>
Mon, 4 Apr 2022 20:28:25 +0000 (20:28 +0000)
Msdk should use mfx variables defined in mfxdefs.h. Replace uint32_t
with mfxU32.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2091>

subprojects/gst-plugins-bad/sys/msdk/msdk.c

index fc5462f..a415e10 100644 (file)
@@ -187,7 +187,7 @@ msdk_init_msdk_session (mfxIMPL impl, mfxVersion * pver,
   mfxStatus sts = MFX_ERR_NONE;
   mfxLoader loader = NULL;
   mfxSession session = NULL;
-  uint32_t impl_idx = 0;
+  mfxU32 impl_idx = 0;
   mfxConfig cfg;
   mfxVariant impl_value;