configure.ac: disable MFC if some v4l2 PIX_FMT missing

This commit is contained in:
Mark Nauwelaerts 2013-01-22 19:31:02 +01:00
parent cbec9bfcd0
commit 1bf59acad8

View file

@ -784,6 +784,9 @@ AG_GST_CHECK_FEATURE(MFC, [Multi Format Codec], mfc, [
#endif
#if defined(V4L2_MAJOR_VERSION) || defined(V4L2_MINOR_VERSION)
#error too early v4l2 version or no v4l2 at all
#endif
#if !defined(V4L2_PIX_FMT_H264)
#error v4l2 version too old
#endif
]], [[
return 0;