summaryrefslogtreecommitdiff
path: root/net/opal3/files/patch-ad
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2002-10-29 08:26:59 +0000
committerRoger Hardiman <roger@FreeBSD.org>2002-10-29 08:26:59 +0000
commit8896baea0b56815db89dc3abc31dfad483b30623 (patch)
tree9427ef379b8c94e101ff3e2b0a64d0918a740982 /net/opal3/files/patch-ad
parentGrammar fix. (diff)
Add some fixes for -current and s-video support from pwlib's CVS.
Reported by: Lars Eggert <larse@isi.edu>
Notes
Notes: svn path=/head/; revision=69082
Diffstat (limited to 'net/opal3/files/patch-ad')
-rw-r--r--net/opal3/files/patch-ad51
1 files changed, 51 insertions, 0 deletions
diff --git a/net/opal3/files/patch-ad b/net/opal3/files/patch-ad
new file mode 100644
index 000000000000..af0be448519a
--- /dev/null
+++ b/net/opal3/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