diff options
Diffstat (limited to 'net/opal/files/patch-ad')
-rw-r--r-- | net/opal/files/patch-ad | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/net/opal/files/patch-ad b/net/opal/files/patch-ad new file mode 100644 index 000000000000..af0be448519a --- /dev/null +++ b/net/opal/files/patch-ad @@ -0,0 +1,51 @@ +*** ../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 <roger@freebsd.org> + * + * $Log: video4bsd.cxx,v $ ++ * Revision 1.20 2002/10/28 19:12:45 rogerh ++ * Add svideo input support for Lars Eggert <larse@isi.edu> ++ * + * 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 |