[Bug 740222] libav: Video decoder push buffer mapped in READ/WRITE
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Nov 24 04:26:09 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=740222
GStreamer | gst-libav | 1.4.4
--- Comment #14 from Wim Taymans <wim.taymans at gmail.com> 2014-11-24 12:26:06 UTC ---
We could add a remap function to memory and buffer with a relock function in
miniobject or we could add a new GST_LOCK_RELOCK flag. I don't think there is
much advantage to a flag, adding api seems more in line with mremap(2).
At the minobject level, it would probably atomically flip some bits when the
shared count is 1 (otherwise it would act like map, and fail when asking to
relock something that you don't own, with less privileges)
After relocking, the default implementation of the new remap function would
unmap and map. You would have to implement something in the allocators that can
do something smarter.
--
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