Permalink
Browse files

Auto-set grab count to 1

  • Loading branch information...
1 parent fa3b1d8 commit 697f3ebe773fdd007e48696cadedc1917437b0fb @bmcdorman bmcdorman committed Jan 3, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/camera.cpp
View
@@ -225,7 +225,8 @@ void Camera::ConfigPath::setDefaultConfigPath(const std::string &name)
Camera::Device::Device()
: m_capture(new cv::VideoCapture),
- m_channelImplManager(new DefaultChannelImplManager)
+ m_channelImplManager(new DefaultChannelImplManager),
+ m_grabCount(1)
{
Config *config = Config::load(Camera::ConfigPath::defaultConfigPath());
if(!config) return;

0 comments on commit 697f3eb

Please sign in to comment.