/***************************** BEGIN LICENSE BLOCK ***************************

The contents of this file are subject to the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one
at http://mozilla.org/MPL/2.0/.

Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
 
Copyright (C) 2012-2015 Sensia Software LLC. All Rights Reserved.
 
******************************* END LICENSE BLOCK ***************************/

package org.sensorhub.impl.sensor.v4l;

import org.sensorhub.api.sensor.SensorConfig;


/**
 * <p>
 * Configuration class for the generic Video4Linux camera driver
 * </p>
 *
 * @author Alex Robin <alex.robin@sensiasoftware.com>
 * @since Sep 6, 2013
 */
public class V4LCameraConfig extends SensorConfig
{
    
    /**
     * Name of video device to use
     * example: /dev/video0
     */
    public String deviceName;
    
    
    /**
     * Maximum number of frames that can be kept in storage
     * (These last N frames will be stored in memory)
     */
    public int frameStorageCapacity;
    
    
    /**
     * Default camera params to use on startup
     * These can then be changed with the control interface
     */
    public V4LCameraParams defaultParams = new V4LCameraParams();

}

@@ -1007,24 +1007,14 @@
  use
-%0A     * example:
+ (e.g.
  /de
@@ -1021,16 +1021,17 @@
 v/video0
+)
 %0A     */
@@ -1059,16 +1059,32 @@
 viceName
+ = %22/dev/video0%22
 ;%0A    %0A 

Fix in ModuleRegistry to properly disable module without unloading them