From b8a6aefa3848bc42e88da13a6e8a5f6b445f48d4 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Mon, 18 May 2015 20:56:28 +0200 Subject: [PATCH] docs: add fdmemory to docs --- docs/libs/gst-plugins-base-libs-docs.sgml | 1 + docs/libs/gst-plugins-base-libs-sections.txt | 24 ++++++++++++++++++++ gst-libs/gst/allocators/gstfdmemory.c | 8 +++++++ gst-libs/gst/allocators/gstfdmemory.h | 1 - 4 files changed, 33 insertions(+), 1 deletion(-) diff --git a/docs/libs/gst-plugins-base-libs-docs.sgml b/docs/libs/gst-plugins-base-libs-docs.sgml index 865ee293ee..7767abf961 100644 --- a/docs/libs/gst-plugins-base-libs-docs.sgml +++ b/docs/libs/gst-plugins-base-libs-docs.sgml @@ -29,6 +29,7 @@ -lgstallocators-&GST_API_VERSION; to the library flags. + diff --git a/docs/libs/gst-plugins-base-libs-sections.txt b/docs/libs/gst-plugins-base-libs-sections.txt index e4352c7a29..3228be1da2 100644 --- a/docs/libs/gst-plugins-base-libs-sections.txt +++ b/docs/libs/gst-plugins-base-libs-sections.txt @@ -4,6 +4,7 @@ gstdmabuf dmabuf gst/allocators/gstdmabuf.h +gst_dmabuf_allocator_new gst_dmabuf_allocator_alloc gst_dmabuf_memory_get_fd gst_is_dmabuf_memory @@ -12,6 +13,29 @@ GST_ALLOCATOR_DMABUF +
+gstfdmemory +fdmemory +gst/allocators/gstfdmemory.h +GstFdMemoryFlags +gst_fd_allocator_alloc +gst_fd_allocator_get_type +gst_fd_allocator_new +gst_fd_memory_get_fd +gst_is_fd_memory + +GstFdAllocator +GstFdAllocatorClass +GST_ALLOCATOR_FD +GST_FD_ALLOCATOR +GST_FD_ALLOCATOR_CAST +GST_FD_ALLOCATOR_CLASS +GST_FD_ALLOCATOR_GET_CLASS +GST_IS_FD_ALLOCATOR +GST_IS_FD_ALLOCATOR_CLASS + +
+ # app
gstappsrc diff --git a/gst-libs/gst/allocators/gstfdmemory.c b/gst-libs/gst/allocators/gstfdmemory.c index 95f544f859..4f2348d46e 100644 --- a/gst-libs/gst/allocators/gstfdmemory.c +++ b/gst-libs/gst/allocators/gstfdmemory.c @@ -18,6 +18,14 @@ * Boston, MA 02111-1307, USA. */ +/** + * SECTION:gstfdmemory + * @short_description: Memory wrapper for fd backed memory + * @see_also: #GstMemory + * + * Since: 1.4 + */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/gst-libs/gst/allocators/gstfdmemory.h b/gst-libs/gst/allocators/gstfdmemory.h index 7062789414..e2da2d75dc 100644 --- a/gst-libs/gst/allocators/gstfdmemory.h +++ b/gst-libs/gst/allocators/gstfdmemory.h @@ -40,7 +40,6 @@ typedef struct _GstFdAllocatorClass GstFdAllocatorClass; /** * GstFdMemoryFlags: - * * @GST_FD_MEMORY_FLAG_NONE: no flag * @GST_FD_MEMORY_FLAG_KEEP_MAPPED: once the memory is mapped, * keep it mapped until the memory is destroyed.