[prev in list] [next in list] [prev in thread] [next in thread]
List: xine-cvslog
Subject: [xine-cvs] =?utf-8?q?HG=3A_xine-lib-1=2E2=3A_DVB_support_for_NetB?= =?utf-8?q?SD?=
From: Thomas_Klausner <tk () giga ! or ! at>
Date: 2014-05-18 19:59:45
Message-ID: 5a42c9e4fdb9b071aec4.1400443123 () hg ! debian ! org
[Download RAW message or body]
# HG changeset patch
# User Thomas Klausner <tk@giga.or.at>
# Date 1400443123 -10800
# Node ID 5a42c9e4fdb9b071aec4a738190c5d7663b82f93
# Branch default
# Parent 57a8177c1c3aba3a1cbe507061c360ea10bcfd3a
DVB support for NetBSD
Sometime in 2011 NetBSD got support for parts of the V4L2 API.
Add support for finding and using the NetBSD-specific DTV headers.
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -361,6 +361,10 @@
esac
AC_CHECK_HEADERS([sys/dvdio.h sys/cdio.h sys/scsiio.h])
+dnl ----------------------------------------------
+dnl Check for NetBSD DTV headers
+dnl ----------------------------------------------
+AC_CHECK_HEADERS([dev/dtv/dtvio.h])
dnl ----------------
dnl checks for types
--git a/src/input/input_dvb.c b/src/input/input_dvb.c
--- a/src/input/input_dvb.c
+++ b/src/input/input_dvb.c
@@ -109,8 +109,12 @@
/* XDG */
#include <basedir.h>
+#ifdef HAVE_DEV_DTV_DTVIO_H
+#include <dev/dtv/dtvio.h>
+#else
#include <linux/dvb/dmx.h>
#include <linux/dvb/frontend.h>
+#endif
#define LOG_MODULE "input_dvb"
#define LOG_VERBOSE
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Xine-cvslog mailing list
Xine-cvslog@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-cvslog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic