codec/vaapi: return error on unsupported environment

Make it buildable on unsupported environment.
Return error on runtime.
This commit is contained in:
Atsushi Watanabe
2020-03-27 12:06:18 +09:00
committed by Lukas Herman
parent aefe480c95
commit fa1fd13422
6 changed files with 40 additions and 2 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
// +build dragonfly freebsd linux netbsd openbsd solaris
package vaapi
// reference: https://github.com/intel/libva-utils/blob/master/encode/vp8enc.c
// #cgo pkg-config: libva libva-drm
// #include <fcntl.h>
// #include <stdint.h>
// #include <stdio.h>