[FFmpeg-devel] [PATCH] kmsgrab: fix build error when use old libdrm
Moritz Barsnick
barsnick at gmx.net
Tue Sep 19 23:17:32 EEST 2017
On Thu, Sep 14, 2017 at 09:12:50 +0100, Mark Thompson wrote:
> > DRM_FORMAT_R16 adding from libdrm 2.4.82, fix the build error
> > when libdrm < 2.4.82.
> Hmm, yeah. Thanks for noticing this - let me think about it a bit
> further, I imagine there are more cases than just this one. (It isn't
> autodetected so nothing is directly broken.)
There's certainly more stuff in here which isn't supported by older
libdrm. I'm talking e.g. headers which were introduced around 2011.
That's probably so ancient it doesn't warrent a version check/guard
though. (IOW I managed to configure with --enable-libdrm, but not
compile.)
Moritz
More information about the ffmpeg-devel
mailing list