[Bug 720568] v4l2: Various changes to allow using M2M decoders

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 31 03:15:53 PST 2013


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

--- Comment #47 from Julien Isorce <julien.isorce at gmail.com> 2013-12-31 11:15:49 UTC ---
(In reply to comment #44)
> (From update of attachment 264343 [details])
> Isn't it potentially necessary to release and re-request/reallocate all buffers
> when the config changes?

Now pool->buffers[] allocation and VIDIOC_REQBUFS call (with .count != 0) are
done in pool_start() instead of pool_set_config().

pool_stop() is left unchanged, i.e. it releases pool->buffers[] and call
VIDIOC_REQBUFS with .count equal to 0.

So that now it's more symmetric, and now pool_set_config() allocates nothing.
So that it can be called several times with few managements.
As it's not possible to change the config when the pool is active (pool_start()
succeeded), you have to have inactivate it first (so pool_stop() will be
called).

-- 
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