X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fvdevicev4l2.C;h=443509e7c0e0e4833fe171be291969eb2d76f786;hb=723142d62d61cde588e961426440f839ca9dcda9;hp=456fa1ecec09fbff9d50cd6d3ff9cd9620759d78;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/vdevicev4l2.C b/cinelerra-5.1/cinelerra/vdevicev4l2.C index 456fa1ec..443509e7 100644 --- a/cinelerra-5.1/cinelerra/vdevicev4l2.C +++ b/cinelerra-5.1/cinelerra/vdevicev4l2.C @@ -2,22 +2,23 @@ /* * 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 - * + * */ +#ifdef HAVE_VIDEO4LINUX2 #include "channel.h" #include "file.h" @@ -27,7 +28,6 @@ #include "vframe.h" #include "videodevice.h" -#ifdef HAVE_VIDEO4LINUX2 VDeviceV4L2::VDeviceV4L2(VideoDevice *device) @@ -103,7 +103,7 @@ int VDeviceV4L2::read_buffer(VFrame *frame) if(bfr >= 0) { VFrame *buffer = device_buffer(bfr); -//printf("VDeviceV4L2::read_buffer %d %p %p\n", +//printf("VDeviceV4L2::read_buffer %d %p %p\n", // __LINE__, frame->get_data(), buffer->get_data()); frame->transfer_from(buffer); put_buffer(bfr);