All of lore.kernel.org
 help / color / mirror / Atom feed
* BUG in videobuf_reqbufs()
@ 2009-01-17 13:37 e9hack
  0 siblings, 0 replies; only message in thread
From: e9hack @ 2009-01-17 13:37 UTC (permalink / raw)
  To: linux-media

Hi,

it seems there is a bug in videobuf_reqbufs(). Depend on the spec
(http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/spec-single/v4l2.html#VIDIOC-REQBUFS),
it should be possible to deallocate all buffers. This doesn't work, because
videobuf_reqbufs() bails out with EINVAL, if the function is called with a count lower
than 1 (videobuf-core.c, line #399). Deallocate should be done with count set to 0.

Regards,
Hartmut

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-17 13:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-17 13:37 BUG in videobuf_reqbufs() e9hack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.