* [gentoo-commits] gentoo-x86 commit in media-libs/libdc1394/files: libdc1394-disable-raw-capture.patch
@ 2009-01-31 10:36 Stefaan De Roeck (stefaan)
0 siblings, 0 replies; 2+ messages in thread
From: Stefaan De Roeck (stefaan) @ 2009-01-31 10:36 UTC (permalink / raw
To: gentoo-commits
stefaan 09/01/31 10:36:45
Added: libdc1394-disable-raw-capture.patch
Log:
Version bump, + new patch to disable obsolete raw capture (required for bug #231908)
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Revision Changes Path
1.1 media-libs/libdc1394/files/libdc1394-disable-raw-capture.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libdc1394/files/libdc1394-disable-raw-capture.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libdc1394/files/libdc1394-disable-raw-capture.patch?rev=1.1&content-type=text/plain
Index: libdc1394-disable-raw-capture.patch
===================================================================
--- /tmp/libdc1394-1.2.2/libdc1394/dc1394_capture.c 2007-08-03 08:47:33.000000000 +0200
+++ libdc1394-1.2.2/libdc1394/dc1394_capture.c 2008-12-09 12:16:28.000000000 +0100
@@ -27,6 +27,7 @@
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <errno.h>
+#include <stdio.h>
#include "config.h"
#include "dc1394_control.h"
@@ -424,6 +425,12 @@
dc1394_multi_capture(raw1394handle_t handle, dc1394_cameracapture *cams,
int num)
{
+ // this functionality is not supported anymore in libraw1394-2.0.0,
+ // nor in recent linux kernels, and is superseded by the dma capture
+ // functions below
+ fprintf(stderr, "libdc1394: error, raw capture mode is not supported anymore");
+ return DC1394_FAILURE;
+#if 0
int i, j;
_dc1394_all_captured= num;
@@ -493,6 +500,7 @@
}
return DC1394_SUCCESS;
+#endif
}
/**********************************
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in media-libs/libdc1394/files: libdc1394-disable-raw-capture.patch
@ 2011-09-13 18:23 Samuli Suominen (ssuominen)
0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2011-09-13 18:23 UTC (permalink / raw
To: gentoo-commits
ssuominen 11/09/13 18:23:02
Removed: libdc1394-disable-raw-capture.patch
Log:
[This is a placeholder. Please ignore.]
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-13 18:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-13 18:23 [gentoo-commits] gentoo-x86 commit in media-libs/libdc1394/files: libdc1394-disable-raw-capture.patch Samuli Suominen (ssuominen)
-- strict thread matches above, loose matches on Subject: below --
2009-01-31 10:36 Stefaan De Roeck (stefaan)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox