GNOME Bugzilla – Bug 742503
Add V4L2 support for OpenBSD
Last modified: 2015-01-08 14:36:38 UTC
Created attachment 293996 [details] [review] autoconf patch The attached patch adds support for OpenBSD's V4L2 layer which uses the header sys/videoio.h.
Review of attachment 293996 [details] [review]: This change makes sense to me. Note that the header itself is not used any-more (unless if using libv4l2), it's only there to make sure we don't try ans build v4l2 element on OS like Windows or OSX. Would it be possible to resubmit this patch using proper form ? This basically mean git clone git://anongit.freedesktop.org/gstreamer/gst-plugins-good git checkout 1.4 ... Make you changes ... git add configure.ac git commit The commit message should in the the format: """ v4l2: Short description Longer description (if needed) https://bugzilla.gnome.org/review?bug=742503 """ I'm asking this because it makes my work easier and ensure your name is on it.
Oh, and to get the change into a patch file, git format-patch -1
Yes, I was aware of the fact that the header was not used anymore. I was re-creating the patch from scratch as we had patches in the past but had to drop the GStreamer support due to an implementation bug in the V4L2 layer which was recently fixed. I was delighted to see the whole situation was much simpler with newer GStreamer releases. Went looking in the ChangeLog and noticed the V4L2 header was imported right into GStreamer. I only posted the patch as is since I noticed other bug reports more or less doing the same thing and the patches were commited. Give me a bit and I will roll a patch as you have requested.
Created attachment 294071 [details] [review] Git formatted patch for the autoconf script
Review of attachment 294071 [details] [review]: Thank you, I'm merging it now.
Comment on attachment 294071 [details] [review] Git formatted patch for the autoconf script Master 133bad7 v4l2: Add support for detecting the presence of V4L2 support on OpenBS 1.4 50f05a4 v4l2: Add support for detecting the presence of V4L2 support on OpenBSD