mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
BaseSrc, PushSrc: add nullable annotations to virtual methods
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3806>
This commit is contained in:
parent
5e9a32ed8c
commit
c8298a2787
2 changed files with 4 additions and 4 deletions
|
@ -241,7 +241,7 @@ struct _GstBaseSrcClass {
|
|||
|
||||
/**
|
||||
* GstBaseSrcClass::create:
|
||||
* @buf: (inout):
|
||||
* @buf: (inout) (nullable):
|
||||
*
|
||||
* Ask the subclass to create a buffer with @offset and @size, the default
|
||||
* implementation will call alloc if no allocated @buf is provided and then call fill.
|
||||
|
@ -250,7 +250,7 @@ struct _GstBaseSrcClass {
|
|||
GstBuffer **buf);
|
||||
/**
|
||||
* GstBaseSrcClass::alloc:
|
||||
* @buf: (out):
|
||||
* @buf: (out) (nullable):
|
||||
*
|
||||
* Ask the subclass to allocate an output buffer with @offset and @size, the default
|
||||
* implementation will use the negotiated allocator.
|
||||
|
|
|
@ -72,7 +72,7 @@ struct _GstPushSrcClass {
|
|||
|
||||
/**
|
||||
* GstPushSrcClass::create:
|
||||
* @buf: (inout):
|
||||
* @buf: (inout) (nullable):
|
||||
*
|
||||
* Ask the subclass to create a buffer, the default implementation will call alloc if
|
||||
* no allocated @buf is provided and then call fill.
|
||||
|
@ -80,7 +80,7 @@ struct _GstPushSrcClass {
|
|||
GstFlowReturn (*create) (GstPushSrc *src, GstBuffer **buf);
|
||||
/**
|
||||
* GstPushSrcClass::alloc:
|
||||
* @buf: (out):
|
||||
* @buf: (out) (nullable):
|
||||
*
|
||||
* Allocate memory for a buffer.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue