2020-01-26 15:27:59 +01:00
|
|
|
Index: xine-lib-1.2.10/m4/input.m4
|
|
|
|
===================================================================
|
|
|
|
--- xine-lib-1.2.10.orig/m4/input.m4 2019-12-13 22:47:50.000000000 +0200
|
|
|
|
+++ xine-lib-1.2.10/m4/input.m4 2020-01-25 12:34:03.983185893 +0200
|
|
|
|
@@ -105,7 +105,7 @@ AC_DEFUN([XINE_INPUT_PLUGINS], [
|
2016-07-31 08:19:31 +02:00
|
|
|
XINE_ARG_ENABLE([v4l], [Enable Video4Linux support])
|
|
|
|
if test x"$enable_v4l" != x"no"; then
|
|
|
|
have_v4l=yes
|
|
|
|
- AC_CHECK_HEADERS([linux/videodev.h], , [have_v4l=no])
|
|
|
|
+ AC_CHECK_HEADERS([libv4l1-videodev.h], , [have_v4l=no])
|
|
|
|
AC_CHECK_HEADERS([asm/types.h])
|
|
|
|
if test x"$hard_enable_v4l" = x"yes" && test x"$have_v4l" != x"yes"; then
|
|
|
|
AC_MSG_ERROR([Video4Linux support requested, but prerequisite headers not found.])
|
2020-01-26 15:27:59 +01:00
|
|
|
Index: xine-lib-1.2.10/src/input/input_v4l.c
|
|
|
|
===================================================================
|
|
|
|
--- xine-lib-1.2.10.orig/src/input/input_v4l.c 2019-12-13 22:47:50.000000000 +0200
|
|
|
|
+++ xine-lib-1.2.10/src/input/input_v4l.c 2020-01-25 12:34:03.983185893 +0200
|
2016-07-31 08:19:31 +02:00
|
|
|
@@ -47,7 +47,7 @@
|
|
|
|
*/
|
|
|
|
#define _LINUX_TIME_H
|
|
|
|
|
|
|
|
-#include <linux/videodev.h>
|
|
|
|
+#include <libv4l1-videodev.h>
|
|
|
|
#include <sys/ioctl.h>
|
|
|
|
#include <sys/mman.h>
|
|
|
|
#include <errno.h>
|