summaryrefslogtreecommitdiff
path: root/test/media_device/media_device_link_test.cpp
diff options
context:
space:
mode:
authorJakub Adam <jakub.adam@collabora.com>2020-02-27 14:42:42 -0500
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-07 01:58:08 +0200
commit170def84c65b91b9d76603e768f254419aaa69b9 (patch)
treefa500f2ae44fe49cf89c386dab60fce2254e96ed /test/media_device/media_device_link_test.cpp
parent9dab15bed639cc59b51ef8aa81f372ab21136739 (diff)
gst: libcamerasrc: Prevent src task deadlock on exhausted buffer pool
Allow GstLibcameraPool to notify the source when a new buffer has become available in a previously exhausted buffer pool. This can be used to resume a src task that got paused because it couldn't acquire a buffer. Without this change the src task will never resume from pause once the pool gets exhausted. To trigger the deadlock (it doesn't happen every time), run: gst-launch-1.0 libcamerasrc ! queue ! glimagesink Signed-off-by: Jakub Adam <jakub.adam@collabora.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/media_device/media_device_link_test.cpp')
0 files changed, 0 insertions, 0 deletions