[FFmpeg-devel] [PATCH] V4L2 support for OpenBSD

Brad brad
Sun Sep 21 19:55:01 CEST 2008


On Sun, 21 Sep 2008 18:45:34 +0100
M__ns Rullg__rd <mans at mansr.com> wrote:

> >> This should use #ifdef HAVE_SYS_VIDEOIO_H
> >
> > So I went looking for how soundcard.h vs sys/soundcard.h is handled
> > since soundcard.h is OpenBSD specific and I see the missing piece.
> > Here is a updated diff.
> >
> > --- configure.orig	Sun Sep 21 00:15:25 2008
> > +++ configure	Sun Sep 21 11:17:09 2008
> > @@ -765,6 +765,7 @@ HAVE_LIST="
> >      inline_asm
> >      libdc1394_1
> >      libdc1394_2
> > +    linux_videodev2_h
> >      llrint
> >      lrint
> >      lrintf
> 
> This isn't needed.

I'm only following an example in the code already. Providing
bad examples means people copy the same bad examples. Remove
sys_soundcard_h from HAVE_LIST then.

> > @@ -786,6 +787,7 @@ HAVE_LIST="
> >      sys_resource_h
> >      sys_select_h
> >      sys_soundcard_h
> > +    sys_videoio_h
> >      termios_h
> >      threads
> >      winsock2_h
> 
> OK

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the ffmpeg-devel mailing list