X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fdevicev4l2base.h;h=2f368addf3597ac5be16869dd36b154242a0bc4e;hb=60f8df69db9ddd8148bfc41a17bb0955b52a45e6;hp=e492e87ad527635fb444812bf94bc2f1c0c95340;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/devicev4l2base.h b/cinelerra-5.1/cinelerra/devicev4l2base.h index e492e87a..2f368add 100644 --- a/cinelerra-5.1/cinelerra/devicev4l2base.h +++ b/cinelerra-5.1/cinelerra/devicev4l2base.h @@ -2,26 +2,28 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * 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