1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00

Don't even think of writing to the capture card.

This commit is contained in:
Greg Lehey 2007-02-23 23:15:51 +00:00
parent c1cd8ed075
commit 97a006d824
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185773

View File

@ -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' "