Skip to content

Commit

Permalink
Ifdef va_x11 in VP sample for usrptr
Browse files Browse the repository at this point in the history
When updating libva-utils from 2.4.0 to 2.6.0 in Chrome OS I bumped into
the following error:
portage/media-video/libva-utils-2.6.0-r1/work/libva-utils-2.6.0/videoprocess/vppscaling_n_out_usrptr.cpp:41:10: fatal error:
      'va/va_x11.h' file not found

Signed-off-by: Edward Baker <edward.baker@intel.com>
  • Loading branch information
edwarddavidbaker authored and XinfengZhang committed Mar 19, 2020
1 parent ab0806b commit bd01ba5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions videoprocess/vppscaling_n_out_usrptr.cpp
Expand Up @@ -38,7 +38,9 @@
#include <va/va.h>
#include <va/va_vpp.h>
#include "va_display.h"
#if 0
#include <va/va_x11.h>
#endif

#define MAX_LEN 1024

Expand Down

0 comments on commit bd01ba5

Please sign in to comment.