pushsrc: Add missing annotations
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1392>
This commit is contained in:
parent
4e2e8492c9
commit
7b1958c8de
@ -70,10 +70,20 @@ struct _GstPushSrc {
|
||||
struct _GstPushSrcClass {
|
||||
GstBaseSrcClass parent_class;
|
||||
|
||||
/* ask the subclass to create a buffer, the default implementation
|
||||
* uses alloc and fill */
|
||||
/**
|
||||
* GstPushSrcClass::create:
|
||||
* @buf: (inout):
|
||||
*
|
||||
* Ask the subclass to create a buffer, the default implementation will call alloc if
|
||||
* no allocated @buf is provided and then call fill.
|
||||
*/
|
||||
GstFlowReturn (*create) (GstPushSrc *src, GstBuffer **buf);
|
||||
/* allocate memory for a buffer */
|
||||
/**
|
||||
* GstPushSrcClass::alloc:
|
||||
* @buf: (out):
|
||||
*
|
||||
* Allocate memory for a buffer.
|
||||
*/
|
||||
GstFlowReturn (*alloc) (GstPushSrc *src, GstBuffer **buf);
|
||||
/* ask the subclass to fill a buffer */
|
||||
GstFlowReturn (*fill) (GstPushSrc *src, GstBuffer *buf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user