memory: fix documentation to display in html

Commit e9c99c05 added a deprecation message, but this message is not
displayed in the html page since the format was not correct.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/648>
This commit is contained in:
Víctor Manuel Jáquez Leal 2020-09-26 09:09:48 +02:00 committed by GStreamer Merge Bot
parent bbca6b1ddf
commit b81808de0e

View file

@ -48,13 +48,15 @@ typedef struct _GstAllocator GstAllocator;
* memory with #GST_MAP_WRITE.
* @GST_MEMORY_FLAG_NO_SHARE: memory must not be shared. Copies will have to be
* made when this memory needs to be shared between buffers. (DEPRECATED:
* do not use in new code, instead you should create a custom GstAllocator for
* memory pooling instead of relying on the GstBuffer they were originally
* attached to.)
* do not use in new code, instead you should create a custom GstAllocator for
* memory pooling instead of relying on the GstBuffer they were originally
* attached to.)
* @GST_MEMORY_FLAG_ZERO_PREFIXED: the memory prefix is filled with 0 bytes
* @GST_MEMORY_FLAG_ZERO_PADDED: the memory padding is filled with 0 bytes
* @GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS: the memory is physically contiguous. (Since: 1.2)
* @GST_MEMORY_FLAG_NOT_MAPPABLE: the memory can't be mapped via gst_memory_map() without any preconditions. (Since: 1.2)
* @GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS: the memory is physically
* contiguous. (Since: 1.2)
* @GST_MEMORY_FLAG_NOT_MAPPABLE: the memory can't be mapped via
* gst_memory_map() without any preconditions. (Since: 1.2)
* @GST_MEMORY_FLAG_LAST: first flag that can be used for custom purposes
*
* Flags for wrapped memory.