Closed jonysy closed 9 years ago
Thank you for your PR.
I'll merge this, but I don't want to rename video
to videoio
(src/video.rs
, not src/ffi/video.rs
).
So could you restore it?
Sure. src/videoio
is now src/video
Thank you!
No problem! :)
@jxny
Hmm... I've just noticed my OpenCV (2.4.9, Mac OS X) doesn't have libopencv_videoio.dylib
, so linking to opencv_videoio
causes a linker error. Is it all right in your environment?
@woxtu I'm using version 3.0
I understand.
Added some features for conditional link (33a0fb0f594dfe17efebb8ca1d8582957164ca7f). So you can use it as follows:
[dependencies.opencv]
...
features = ["opencv30"]
@woxtu Perfect!
Renamed
video
tovideoio
, linking toopencv_videoio
instead ofopencv_video
and addedfrom_camera
function.video
is a separate module and here's the correctvideoio
header file