msdkvp9dec: do not include mfxvp9.h
authorHaihao Xiang <haihao.xiang@intel.com>
Fri, 14 May 2021 03:56:49 +0000 (11:56 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Mon, 17 May 2021 01:58:24 +0000 (01:58 +0000)
The VP9 related definitions in mfxvp9.h are available under the
condition of 'MFX_VERSION >= MFX_VERSION_NEXT', which implies that these
definitions are never used in a public release.

This is in preparation for oneVPL support because mfxvp9.h was
removed from oneVPL

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1503>

sys/msdk/gstmsdkvp9dec.c

index eb2a6bb..e6491a6 100644 (file)
@@ -38,8 +38,6 @@
 #include "gstmsdkvp9dec.h"
 #include "gstmsdkvideomemory.h"
 
 #include "gstmsdkvp9dec.h"
 #include "gstmsdkvideomemory.h"
 
-#include <mfxvp9.h>
-
 GST_DEBUG_CATEGORY_EXTERN (gst_msdkvp9dec_debug);
 #define GST_CAT_DEFAULT gst_msdkvp9dec_debug
 
 GST_DEBUG_CATEGORY_EXTERN (gst_msdkvp9dec_debug);
 #define GST_CAT_DEFAULT gst_msdkvp9dec_debug