swestrup at gmail.com
Thu Nov 29 20:08:54 UTC 2018
I'm in the middle of implementing a new type of GstMemory and would
like some clarification on the intended meaning of the
GST_MEMORY_IS_PHYSICALLY_CONTIGUOUS flag. The help text essentially
just repeats what the flag already says, and ignores the fact that any
piece of allocated memory represented by a single address is
NECESSARILY physically contiguous. So the flag appears to be
inherently useless (and indeed, it appears completely unused in the
My only guess at a likely meaning is that it marks the memory as being
part of a larger contiguous piece of allocated memory, but without
additional associated information, this would appear to be of no use,
especially considering that GstMemory already has a mechanism to
handle this very thing, using the size and offset fields.
So, what is the flag intended to indicate?
More information about the gstreamer-devel