mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +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:
|
* GstBaseSrcClass::create:
|
||||||
* @buf: (inout):
|
* @buf: (inout) (nullable):
|
||||||
*
|
*
|
||||||
* Ask the subclass to create a buffer with @offset and @size, the default
|
* 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.
|
* implementation will call alloc if no allocated @buf is provided and then call fill.
|
||||||
|
@ -250,7 +250,7 @@ struct _GstBaseSrcClass {
|
||||||
GstBuffer **buf);
|
GstBuffer **buf);
|
||||||
/**
|
/**
|
||||||
* GstBaseSrcClass::alloc:
|
* GstBaseSrcClass::alloc:
|
||||||
* @buf: (out):
|
* @buf: (out) (nullable):
|
||||||
*
|
*
|
||||||
* Ask the subclass to allocate an output buffer with @offset and @size, the default
|
* Ask the subclass to allocate an output buffer with @offset and @size, the default
|
||||||
* implementation will use the negotiated allocator.
|
* implementation will use the negotiated allocator.
|
||||||
|
|
|
@ -72,7 +72,7 @@ struct _GstPushSrcClass {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstPushSrcClass::create:
|
* GstPushSrcClass::create:
|
||||||
* @buf: (inout):
|
* @buf: (inout) (nullable):
|
||||||
*
|
*
|
||||||
* Ask the subclass to create a buffer, the default implementation will call alloc if
|
* Ask the subclass to create a buffer, the default implementation will call alloc if
|
||||||
* no allocated @buf is provided and then call fill.
|
* no allocated @buf is provided and then call fill.
|
||||||
|
@ -80,7 +80,7 @@ struct _GstPushSrcClass {
|
||||||
GstFlowReturn (*create) (GstPushSrc *src, GstBuffer **buf);
|
GstFlowReturn (*create) (GstPushSrc *src, GstBuffer **buf);
|
||||||
/**
|
/**
|
||||||
* GstPushSrcClass::alloc:
|
* GstPushSrcClass::alloc:
|
||||||
* @buf: (out):
|
* @buf: (out) (nullable):
|
||||||
*
|
*
|
||||||
* Allocate memory for a buffer.
|
* Allocate memory for a buffer.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue