mirror of
https://github.com/pion/mediadevices.git
synced 2026-04-23 00:07:29 +08:00
codec/vaapi: return error on unsupported environment
Make it buildable on unsupported environment. Return error on runtime.
This commit is contained in:
committed by
Lukas Herman
parent
aefe480c95
commit
fa1fd13422
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user