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 719779 - v4l2: Should not call VIDIOC_REQBUFS on _pool_set_config()
v4l2: Should not call VIDIOC_REQBUFS on _pool_set_config()
Status: RESOLVED DUPLICATE of bug 720568
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-12-03 15:06 UTC by Nicolas Dufresne (ndufresne)
Modified: 2014-01-10 22:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Move REQBUFS into _start() (6.90 KB, patch)
2013-12-03 15:51 UTC, Nicolas Dufresne (ndufresne)
none Details | Review

Description Nicolas Dufresne (ndufresne) 2013-12-03 15:06:09 UTC
Currently VIDIOC_REQBUFS is called each time the configuration of the buffer pool is changed. The problem is that VIDIOC_REQBUFS do allocated on the kernel size the required memory. Very often that memory is contiguous, which takes a lot of time to allocate, and locks a lot of resources. To add to this problem, certain driver don't allow calling this REQBUFS more then once, causing the buffer pool to be rejected.
Comment 1 Nicolas Dufresne (ndufresne) 2013-12-03 15:51:19 UTC
Created attachment 263400 [details] [review]
Move REQBUFS into _start()
Comment 2 Nicolas Dufresne (ndufresne) 2014-01-10 22:05:37 UTC
part of 720568

*** This bug has been marked as a duplicate of bug 720568 ***