backend-drm: use DRM_ constants everywhere

Use DRM_ constants for pixel formats in all cases.

Signed-off-by: Stefan Agner <stefan@agner.ch>
dev
Stefan Agner 5 years ago
parent 2f9ca27891
commit 4a18f30225
  1. 2
      libweston/backend-drm/drm.c

@ -3005,7 +3005,7 @@ recorder_binding(struct weston_keyboard *keyboard, const struct timespec *time,
struct drm_output, base.link);
if (!output->recorder) {
if (output->gbm_format != GBM_FORMAT_XRGB8888) {
if (output->gbm_format != DRM_FORMAT_XRGB8888) {
weston_log("failed to start vaapi recorder: "
"output format not supported\n");
return;

Loading…
Cancel
Save