kmssink: Fix compilation without kernel headers

There was a drm/drm_mode.h included added recently, drm/ is usually
referencing the linux kernel header, but we only requires the libdrm
headers to be installed. On top of this, including drm_mode.h is never
needed as its already included by drm.h.

Fixes #1596

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3452>
This commit is contained in:
Nicolas Dufresne 2022-11-22 15:27:38 -05:00 committed by GStreamer Marge Bot
parent 855f84c558
commit 6981384184

View file

@ -27,7 +27,6 @@
#define __GST_KMS_SINK_H__
#include <gst/video/gstvideosink.h>
#include <drm/drm_mode.h>
#include <gst/video/video-hdr.h>
G_BEGIN_DECLS