[Bug 765600] New: Add gst_memory_try_map or new GstMapFlags to silent GST_ERROR on some situation
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Apr 26 12:10:01 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=765600
Bug ID: 765600
Summary: Add gst_memory_try_map or new GstMapFlags to silent
GST_ERROR on some situation
Classification: Platform
Product: GStreamer
Version: git master
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: julien.isorce at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Currently gst_memory_map always outputs a GST_ERROR on alocator->mem_map
failutre:
https://cgit.freedesktop.org/gstreamer/gstreamer/tree/gst/gstmemory.c#n324
There is at least one situation where we would like to use gst_memory_map as a
try function: dmabuf.
Indeed we need to check at runtime if the given dmabuf is mappable and try
another caps if not. So even if it fails it would be part of the caps
negotiation phase so no need a GST_ERROR:
https://github.com/CapOM/gstreamer-vaapi/commit/2a55a5fc774eb8bba68094ba231f06b8b07b3969#diff-bec9172c05be682d331c790d8a50ba95R195
Other solution would be to add a new GstMapFlags that would silent the error.
--
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