*** ../pwlib/src/ptlib/unix/video4bsd.cxx.orig Tue Oct 29 00:15:59 2002 --- ../pwlib/src/ptlib/unix/video4bsd.cxx Tue Oct 29 00:16:17 2002 *************** *** 24,29 **** --- 24,32 ---- * Contributor(s): Roger Hardiman * * $Log: video4bsd.cxx,v $ + * Revision 1.20 2002/10/28 19:12:45 rogerh + * Add svideo input support for Lars Eggert + * * Revision 1.19 2002/04/10 08:40:36 rogerh * Simplify the SetVideoChannelFormat() code. Use the implementation in the * ancestor class. *************** BOOL PVideoInputDevice::Open(const PStri *** 129,135 **** videoCapability.minwidth = 32; videoCapability.maxheight = 768; videoCapability.maxwidth = 576; ! videoCapability.channels = 4; // set height and width frameHeight = videoCapability.maxheight; --- 132,138 ---- videoCapability.minwidth = 32; videoCapability.maxheight = 768; videoCapability.maxwidth = 576; ! videoCapability.channels = 5; // set height and width frameHeight = videoCapability.maxheight; *************** BOOL PVideoInputDevice::SetChannel(int n *** 259,266 **** return FALSE; // set channel information ! static int chnl[4] = { METEOR_INPUT_DEV0, METEOR_INPUT_DEV1, ! METEOR_INPUT_DEV2, METEOR_INPUT_DEV3 }; int channel = chnl[newChannel]; // set the information --- 262,270 ---- return FALSE; // set channel information ! static int chnl[5] = { METEOR_INPUT_DEV0, METEOR_INPUT_DEV1, ! METEOR_INPUT_DEV2, METEOR_INPUT_DEV3, ! METEOR_INPUT_DEV_SVIDEO }; int channel = chnl[newChannel]; // set the information