[gstreamer-bugs] [Bug 480557] Nasty segfault in CVS HEAD

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Nov 14 08:44:48 PST 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=480557

  GStreamer | don't know | Ver: HEAD CVS




------- Comment #11 from Edgard Lima  2007-11-14 16:44 UTC -------

Well, there is a work around

that at least works for me :-)

the only change is 

in func -> gst_v4l2src_grab_frame

- need_copy = v4l2src->pool->num_live_buffers == v4l2src->pool->buffer_count;
+ need_copy = index == 0;

this way, the copy always happens to the first buffer (so it will always be
available to the driver)

and the other buffers are in use too.

....Well, since it is a driver bug, it is hard to say if the driver is really
writing to pool->buffer[0] or it is writing to another buffer in pool and just
returning buffer.index = 0 to us.

Wim, what do you think?

btw: I've tried to make my camera to use 4 buffer but it just uses 2 buffers (I
have no idea about other drivers).

BR,
Edgard


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=480557.




More information about the Gstreamer-bugs mailing list