After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 450190 - [PATCH] v4l2src set_capture (parameters) fails
[PATCH] v4l2src set_capture (parameters) fails
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.6
Other Linux
: Normal normal
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-22 20:32 UTC by Mark Nauwelaerts
Modified: 2007-08-22 08:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Possible patch (2.38 KB, patch)
2007-06-22 20:35 UTC, Mark Nauwelaerts
none Details | Review

Description Mark Nauwelaerts 2007-06-22 20:32:26 UTC
gst_v4l2src_set_capture issues VIDIOC_G_PARM and VIDIOC_S_PARM ioctl, and expects/wants this to succeed.  However, according to specs (http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/spec/x1721.htm),
these ioctls are optional and may return EINVAL (and they really are not implemented in quite some, e.g. bttv capture card).
Comment 1 Mark Nauwelaerts 2007-06-22 20:35:53 UTC
Created attachment 90494 [details] [review]
Possible patch

* Make VIDIOC_S/G_PARM ioctl's optional

[the remaining GST_ELEMENT_WARNING may still be a bit too ominous/scary, as it can actually be perfectly normal]
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2007-08-22 08:23:04 UTC
2007-08-22  Stefan Kost  <ensonic@users.sf.net>

	patch by: Mark Nauwelaerts <manauw@skynet.be>

	* sys/v4l2/v4l2src_calls.c:
	  Handle optional v4l2 ioctls gracefully.