hornetseye-v4l2 1.0.3 → 1.0.4

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 -0
  3. metadata +9 -9
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.3'
10
+ PKG_VERSION = '1.0.4'
11
11
  CFG = RbConfig::CONFIG
12
12
  CXX = ENV[ 'CXX' ] || 'g++'
13
13
  RB_FILES = FileList[ 'lib/**/*.rb' ]
@@ -667,10 +667,14 @@ VALUE V4L2Input::registerRubyClass( VALUE module )
667
667
  INT2NUM(V4L2_CID_HFLIP) );
668
668
  rb_define_const( cRubyClass, "FEATURE_VFLIP",
669
669
  INT2NUM(V4L2_CID_VFLIP) );
670
+ #ifdef V4L2_CID_HCENTER
670
671
  rb_define_const( cRubyClass, "FEATURE_HCENTER",
671
672
  INT2NUM(V4L2_CID_HCENTER) );
673
+ #endif
674
+ #ifdef V4L2_CID_VCENTER
672
675
  rb_define_const( cRubyClass, "FEATURE_VCENTER",
673
676
  INT2NUM(V4L2_CID_VCENTER) );
677
+ #endif
674
678
  rb_define_const( cRubyClass, "FEATURE_LASTP1",
675
679
  INT2NUM(V4L2_CID_LASTP1) );
676
680
  rb_define_singleton_method( cRubyClass, "new", RUBY_METHOD_FUNC( wrapNew ), 2 );
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hornetseye-v4l2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-30 00:00:00.000000000 Z
12
+ date: 2013-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: malloc
@@ -87,19 +87,19 @@ files:
87
87
  - README.md
88
88
  - COPYING
89
89
  - .document
90
- - lib/hornetseye_v4l2_ext.rb
91
- - lib/hornetseye-v4l2/v4l2input.rb
92
90
  - lib/hornetseye-v4l2/docs.rb
93
- - ext/init.cc
94
- - ext/v4l2select.cc
91
+ - lib/hornetseye-v4l2/v4l2input.rb
92
+ - lib/hornetseye_v4l2_ext.rb
95
93
  - ext/frame.cc
94
+ - ext/init.cc
96
95
  - ext/v4l2input.cc
96
+ - ext/v4l2select.cc
97
+ - ext/error.hh
97
98
  - ext/frame.hh
98
- - ext/v4l2input.hh
99
+ - ext/rubyinc.hh
99
100
  - ext/rubytools.hh
101
+ - ext/v4l2input.hh
100
102
  - ext/v4l2select.hh
101
- - ext/error.hh
102
- - ext/rubyinc.hh
103
103
  - ext/rubytools.tcc
104
104
  homepage: http://wedesoft.github.com/hornetseye-v4l2/
105
105
  licenses: