Skip to content

Commit

Permalink
[Media Common] [VP] dont include va_dricommon.h
Browse files Browse the repository at this point in the history
<va/va_dricommon.h> is not in non-X11 libva 2.16.0
The header "media_libva_putsurface_linux.h" is included

Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
  • Loading branch information
heitbaum authored and intel-mediadev committed Nov 28, 2022
1 parent b4d93c6 commit e0d2caa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
//! \file ddi_vp_functions.cpp
//! \brief ddi vp functions implementaion.
//!
#include <va/va_dricommon.h>
#include "ddi_vp_functions.h"
#include "media_libva_util_next.h"
#include "media_libva_common_next.h"
Expand Down Expand Up @@ -4700,4 +4699,4 @@ VAStatus DdiVpFunctions::PutSurfaceLinuxHW(

return VA_STATUS_SUCCESS;
}
#endif // !defined(ANDROID) && defined(X11_FOUND)
#endif // !defined(ANDROID) && defined(X11_FOUND)

0 comments on commit e0d2caa

Please sign in to comment.