Armin K. wrote: > On 10/24/2012 10:31 PM, Armin K. wrote: >> On 10/24/2012 10:02 PM, John Burrell wrote: >>> >>> If you get this error when compiling gst-plugins-good-0.10.31 >>> >>> gstv4l2bufferpool.c: In function 'gst_v4l2_buffer_new': >>> gstv4l2bufferpool.c:185:3: error: 'struct v4l2_buffer' has no member named >>> 'input'Then use this edit from gnome.orgdiff --git >>> a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c >>> index 2e3a563..5aaed5a 100644 >>> --- a/sys/v4l2/gstv4l2bufferpool.c >>> +++ b/sys/v4l2/gstv4l2bufferpool.c >>> @@ -182,7 +182,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint >>> index, >>> GST_LOG_OBJECT (pool->v4l2elem, " MMAP offset: %u", >>> ret->vbuffer.m.offset); >>> GST_LOG_OBJECT (pool->v4l2elem, " length: %u", >>> ret->vbuffer.length); >>> - GST_LOG_OBJECT (pool->v4l2elem, " input: %u", ret->vbuffer.input); >>> >>> ret->mmap_length = ret->vbuffer.length; >>> data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length, >>> Easier as a sed as it's only a single line to remove. >>> >>> jb >>> >> >> Hm, I don't remember seeing that in my builds. Is it something related >> to newer kernels? Can you point me to the upstream report or the origin >> of the patch or, if you like, attach the patch and send it (it looks >> messy in the mail). >> > > Never mind, I've found it here > http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?h=0.10&id=bfb1ac952b4c3caaba0297bbe7dc73ea92f9b292 > > It is indeed issue with newer kernels. Thanks for reporting!
Yes, thanks. I think a sed would work: sed -i -e '/input:/d' sys/v4l2/gstv4l2bufferpool.c -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
