mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 23:14:46 +00:00
msdk: Fix for MFXUnload symbol re-definition build error
Fix for libgstreamer-full build Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1408>
This commit is contained in:
parent
278908ce96
commit
8773ba1104
2 changed files with 7 additions and 2 deletions
|
@ -312,7 +312,7 @@ msdk_init_msdk_session (mfxIMPL impl, mfxVersion * pver,
|
|||
}
|
||||
|
||||
void
|
||||
MFXUnload (mfxLoader loader)
|
||||
GstMFXUnload (mfxLoader loader)
|
||||
{
|
||||
g_assert (loader == NULL);
|
||||
}
|
||||
|
|
|
@ -86,7 +86,12 @@ G_BEGIN_DECLS
|
|||
#if (MFX_VERSION < 2000)
|
||||
typedef void * mfxLoader;
|
||||
|
||||
void MFXUnload (mfxLoader loader);
|
||||
void GstMFXUnload (mfxLoader loader);
|
||||
|
||||
/* To avoid MFXUnload symbol re-define build issue in case of static build.
|
||||
* MFXUnload symbol may exists if other plugin built its own libmfx dispatcher
|
||||
*/
|
||||
#define MFXUnload GstMFXUnload
|
||||
#endif
|
||||
|
||||
typedef struct _MsdkSession MsdkSession;
|
||||
|
|
Loading…
Reference in a new issue