configure.ac: Auto-enable vaapi recorder, but allow overrides
If libva is available and recent, we'll enable the vaapi recorder feature, but it can also be forced on or off by --enable/disable-vaapi-recorder.
This commit is contained in:
+1
-1
@@ -153,7 +153,7 @@ drm_backend_la_SOURCES = \
|
||||
libbacklight.c \
|
||||
libbacklight.h
|
||||
|
||||
if ENABLE_LIBVA
|
||||
if ENABLE_VAAPI_RECORDER
|
||||
drm_backend_la_SOURCES += vaapi-recorder.c
|
||||
drm_backend_la_LIBADD += $(LIBVA_LIBS)
|
||||
drm_backend_la_CFLAGS += $(LIBVA_CFLAGS)
|
||||
|
||||
@@ -2446,7 +2446,7 @@ planes_binding(struct weston_seat *seat, uint32_t time, uint32_t key, void *data
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBVA
|
||||
#ifdef BUILD_VAAPI_RECORDER
|
||||
static void
|
||||
recorder_frame_notify(struct wl_listener *listener, void *data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user