summaryrefslogtreecommitdiff
path: root/devel/pwlib/files/patch-videoio
blob: 74d8a5c43c028e6e6090d0f8fb3acb37d434ea7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
*** include/ptlib/unix/ptlib/videoio.h.orig	Mon Jan  6 18:41:08 2003
--- include/ptlib/unix/ptlib/videoio.h	Tue Dec  2 09:42:10 2003
***************
*** 106,112 ****
  #include <linux/videodev.h>     /* change this to "videodev2.h" for v4l2 */
  #endif
  
! #if defined(P_FREEBSD)
  #include <machine/ioctl_meteor.h>
  #endif
  
--- 106,112 ----
  #include <linux/videodev.h>     /* change this to "videodev2.h" for v4l2 */
  #endif
  
! #if defined(P_FREEBSD) && !defined(NO_VIDEO_CAPTURE)
  #include <machine/ioctl_meteor.h>
  #endif
  
***************
*** 186,192 ****
      struct video_mmap frameBuffer[2];
  #endif
  
! #if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD)
      struct video_capability
      {
          int channels;   /* Num channels */
--- 186,192 ----
      struct video_mmap frameBuffer[2];
  #endif
  
! #if (defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD)) && !defined(NO_VIDEO_CAPTURE)
      struct video_capability
      {
          int channels;   /* Num channels */