[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libcvd-members] libcvd/cvd_src/Linux dvbuffer.cc
From: |
Georg Klein |
Subject: |
[libcvd-members] libcvd/cvd_src/Linux dvbuffer.cc |
Date: |
Thu, 25 May 2006 12:33:24 +0000 |
CVSROOT: /cvsroot/libcvd
Module name: libcvd
Branch:
Changes by: Georg Klein <address@hidden> 06/05/25 12:33:24
Modified files:
cvd_src/Linux : dvbuffer.cc
Log message:
Highly dubious fix without which my DVBuffer doesn't work (??)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/libcvd/cvd_src/Linux/dvbuffer.cc.diff?tr1=1.12&tr2=1.13&r1=text&r2=text
Patches:
Index: libcvd/cvd_src/Linux/dvbuffer.cc
diff -u libcvd/cvd_src/Linux/dvbuffer.cc:1.12
libcvd/cvd_src/Linux/dvbuffer.cc:1.13
--- libcvd/cvd_src/Linux/dvbuffer.cc:1.12 Fri Mar 31 16:58:04 2006
+++ libcvd/cvd_src/Linux/dvbuffer.cc Thu May 25 12:33:24 2006
@@ -21,9 +21,9 @@
/**************************************************************************
** Title: grab one gray image using libdc1394
** $RCSfile: dvbuffer.cc,v $
-** $Revision: 1.12 $$Name: $
-** $Date: 2006/03/31 16:58:04 $
-** Copyright: LGPL $Author: edrosten $
+** $Revision: 1.13 $$Name: $
+** $Date: 2006/05/25 12:33:24 $
+** Copyright: LGPL $Author: georgklein $
** Description:
**
** Get one gray image using libdc1394 and store it as portable gray map
@@ -32,6 +32,9 @@
**-------------------------------------------------------------------------
**
** $Log: dvbuffer.cc,v $
+** Revision 1.13 2006/05/25 12:33:24 georgklein
+** Highly dubious fix without which my DVBuffer doesn't work (??)
+**
** Revision 1.12 2006/03/31 16:58:04 edrosten
** Added some proper error handling.
**
@@ -512,6 +515,11 @@
if (raw1394_set_port(my_handle, port) < 0)
throw Exceptions::DVBuffer::Raw1394Setup("Couldn't perform
raw1394_set_port");
+ // Without the following two lines dvbuffer can't set_iso_channel_and_speed
+ // on my system for some reason (GK)
+ int *strange = new int;
+ raw1394_set_userdata( my_handle, strange );
+
/*-----------------------------------------------------------------------
* get the RawDCVideo nodes and describe them as we find them
*-----------------------------------------------------------------------*/
- [libcvd-members] libcvd/cvd_src/Linux dvbuffer.cc,
Georg Klein <=