From 1ca02ccc0e16e38f3d92ce55419df611ce3023bf Mon Sep 17 00:00:00 2001 From: grog Date: Fri, 23 Feb 2007 23:15:51 +0000 Subject: Don't even think of writing to the capture card. --- multimedia/mythtv/files/patch-libs-libmythtv-cardutil.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 multimedia/mythtv/files/patch-libs-libmythtv-cardutil.cpp (limited to 'multimedia/mythtv/files') diff --git a/multimedia/mythtv/files/patch-libs-libmythtv-cardutil.cpp b/multimedia/mythtv/files/patch-libs-libmythtv-cardutil.cpp new file mode 100644 index 000000000000..2a94e37afbf1 --- /dev/null +++ b/multimedia/mythtv/files/patch-libs-libmythtv-cardutil.cpp @@ -0,0 +1,11 @@ +--- libs/libmythtv/cardutil.cpp~ Tue Jul 18 22:05:04 2006 ++++ libs/libmythtv/cardutil.cpp Fri Feb 23 11:40:25 2007 +@@ -588,7 +588,7 @@ + { + bool ok; + QStringList ret; +- int videofd = open(device.ascii(), O_RDWR); ++ int videofd = open(device.ascii(), O_RDONLY); + if (videofd < 0) + { + ret += QObject::tr("Could not open '%1' " -- cgit