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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/ext/v4l2input.cc +4 -4
  3. metadata +4 -4
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ require 'rake/loaders/makefile'
7
7
  require 'rbconfig'
8
8
 
9
9
  PKG_NAME = 'hornetseye-v4l2'
10
- PKG_VERSION = '1.0.1'
10
+ PKG_VERSION = '1.0.2'
11
11
  CFG = RbConfig::CONFIG
12
12
  CXX = ENV[ 'CXX' ] || 'g++'
13
13
  RB_FILES = FileList[ 'lib/**/*.rb' ]
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( m_fd != -1, Error, ,
339
- "Device \"" << m_device << "\" is not open. "
340
- "Did you call \"close\" before?" );
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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
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-08-14 00:00:00 Z
18
+ date: 2012-11-04 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: malloc