hornetseye-v4l2 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/ext/v4l2input.cc +4 -4
- metadata +4 -4
data/Rakefile
CHANGED
data/ext/v4l2input.cc
CHANGED
@@ -335,15 +335,15 @@ void V4L2Input::setFeatureValue( unsigned int id, int value )
|
|
335
335
|
enum v4l2_ctrl_type V4L2Input::featureType( unsigned int id )
|
336
336
|
throw (Error)
|
337
337
|
{
|
338
|
-
ERRORMACRO(
|
339
|
-
|
340
|
-
|
338
|
+
ERRORMACRO(m_fd != -1, Error, ,
|
339
|
+
"Device \"" << m_device << "\" is not open. "
|
340
|
+
"Did you call \"close\" before?" );
|
341
341
|
struct v4l2_queryctrl queryctrl;
|
342
342
|
memset( &queryctrl, 0, sizeof(queryctrl) );
|
343
343
|
queryctrl.id = id;
|
344
344
|
ERRORMACRO( xioctl( VIDIOC_QUERYCTRL, &queryctrl ) == 0, Error, ,
|
345
345
|
"Error requesting information about control " << id );
|
346
|
-
return queryctrl.type;
|
346
|
+
return (v4l2_ctrl_type)queryctrl.type;
|
347
347
|
}
|
348
348
|
|
349
349
|
string V4L2Input::featureName( unsigned int id )
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hornetseye-v4l2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jan Wedekind
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-11-04 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: malloc
|