remove whitespace at eol
[goodguy/history.git] / cinelerra-5.1 / cinelerra / devicev4l2base.h
index e492e87ad527635fb444812bf94bc2f1c0c95340..2f368addf3597ac5be16869dd36b154242a0bc4e 100644 (file)
@@ -2,26 +2,28 @@
 /*
  * CINELERRA
  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- * 
+ *
  */
 
 #ifndef DEVICEV4L2BASE_H
 #define DEVICEV4L2BASE_H
 
+#ifdef HAVE_VIDEO4LINUX2
+
 #include "channel.inc"
 #include "condition.h"
 #include "vframe.inc"
@@ -96,6 +98,8 @@ class DeviceV4L2Base : public Thread
 // COMPRESSED or another color model the device should use.
         int color_model;
        int dev_fd;
+       int iwidth;
+       int iheight;
 
        int dev_open();
        void dev_close();
@@ -128,3 +132,4 @@ public:
 };
 
 #endif
+#endif