[gstreamer-bugs] [Bug 595340] gst-plugins-good-0.10.16 and libv4l-0.6.1

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Sep 18 01:03:45 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=595340
  GStreamer | gst-plugins-good | 0.10.16

--- Comment #5 from Jarkko Palviainen <jarkko.palviainen at sesca.com> 2009-09-18 08:03:43 UTC ---
I have also kernel version 2.6.31. 

Yeah, it seems to be related to the kernel. Looking at the the first warning:

gstv4l2object.c:842: warning: implicit declaration of function '_IOWR'

line:842:
if (v4l2_ioctl (v4l2object->video_fd, VIDIOC_ENUM_FMT, format) < 0) {

A bit investigation for the second parameter:

$ cat /usr/include/linux/videodev2.h |grep VIDIOC_ENUM_FMT
#define VIDIOC_ENUM_FMT         _IOWR('V',  2, struct v4l2_fmtdesc)

Following a few headers, I find /usr/include/asm-generic/ioctl.h:
#define _IOWR(type,nr,size)    
_IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size)))

That stuff is coming from linux-kernel-headers package (provided by
linux-libc-dev in Ubuntu 9.10). 


You could mention your distribution and someone else with the same one might
try it out.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list