hornetseye-v4l2 0.4.1 → 0.4.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 +2 -3
- metadata +2 -2
data/Rakefile
CHANGED
data/ext/v4l2input.cc
CHANGED
@@ -109,11 +109,10 @@ V4L2Input::V4L2Input( const std::string &device, int channel,
|
|
109
109
|
<< "h = " << select->height() << endl;
|
110
110
|
#endif
|
111
111
|
m_format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
|
112
|
-
m_format.fmt.pix.field = V4L2_FIELD_NONE;
|
113
112
|
m_format.fmt.pix.width = select->width();
|
114
113
|
m_format.fmt.pix.height = select->height();
|
115
114
|
m_format.fmt.pix.pixelformat = coding;
|
116
|
-
m_format.fmt.pix.field = V4L2_FIELD_SEQ_TB
|
115
|
+
m_format.fmt.pix.field = V4L2_FIELD_ANY; // V4L2_FIELD_SEQ_TB
|
117
116
|
ERRORMACRO( xioctl( VIDIOC_S_FMT, &m_format ) == 0, Error, ,
|
118
117
|
"Error switching device \"" << m_device << "\" to selected format" );
|
119
118
|
switch ( coding ) {
|
@@ -147,7 +146,7 @@ V4L2Input::V4L2Input( const std::string &device, int channel,
|
|
147
146
|
#ifndef NDEBUG
|
148
147
|
cerr << "Trying memory mapped I/O." << endl;
|
149
148
|
#endif
|
150
|
-
// m_format.fmt.pix.sizeimage
|
149
|
+
// m_format.fmt.pix.sizeimage?
|
151
150
|
memset( &m_req, 0, sizeof(m_req) );
|
152
151
|
m_req.count = 2;
|
153
152
|
m_req.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: hornetseye-v4l2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.4.
|
5
|
+
version: 0.4.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jan Wedekind
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-08-
|
13
|
+
date: 2011-08-21 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: malloc
|