Revision: 8407
http://playerstage.svn.sourceforge.net/playerstage/?rev=8407&view=rev
Author: thjc
Date: 2009-11-15 13:01:09 +0000 (Sun, 15 Nov 2009)
Log Message:
-----------
applied 2893427: sphereptz compat with older 2.6 kernels
Modified Paths:
--------------
code/player/trunk/server/drivers/ptz/sphereptz/sphereptz.cc
Modified: code/player/trunk/server/drivers/ptz/sphereptz/sphereptz.cc
===================================================================
--- code/player/trunk/server/drivers/ptz/sphereptz/sphereptz.cc 2009-11-15
12:57:45 UTC (rev 8406)
+++ code/player/trunk/server/drivers/ptz/sphereptz/sphereptz.cc 2009-11-15
13:01:09 UTC (rev 8407)
@@ -112,6 +112,33 @@
#define RTOD(r) ((static_cast<double>(r)) * 180.0 / M_PI)
#endif
+#ifndef VIDIOC_S_EXT_CTRLS
+
+struct v4l2_ext_control
+{
+ __u32 id;
+ __u32 reserved2[2];
+ union
+ {
+ __s32 value;
+ __s64 value64;
+ void * reserved;
+ };
+} __attribute__ ((packed));
+
+struct v4l2_ext_controls
+{
+ __u32 ctrl_class;
+ __u32 count;
+ __u32 error_idx;
+ __u32 reserved[2];
+ struct v4l2_ext_control * controls;
+};
+
+#define VIDIOC_S_EXT_CTRLS _IOWR('V', 72, struct v4l2_ext_controls)
+
+#endif
+
class SpherePTZ : public ThreadedDriver
{
public:
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit