fdmemory: Allow for change of protection mode
authorTobias Ronge <tobiasr@lnxhplap16.se.axis.com>
Tue, 27 Oct 2020 13:12:42 +0000 (14:12 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 28 Oct 2020 17:11:05 +0000 (17:11 +0000)
commite2a1aa44df139085010b1f1e6703d9aff7422e6f
tree83956912f11207f77cb1c9d7caf53f955e03426c
parenteb216e3865bdbd62a869f1df6e0a843d2ed5d62d
fdmemory: Allow for change of protection mode

After a memory has been unmapped, protection mode can now be changed
when mapping it again.

See https://bugzilla.gnome.org/show_bug.cgi?id=789952.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/895>
gst-libs/gst/allocators/gstfdmemory.c
tests/check/libs/allocators.c