/* decide on caps */
gboolean (*negotiate) (GstBaseSrc *src);
/* called if, in negotiation, caps need fixating */
+ /**
+ * GstBaseSrcClass::fixate:
+ * @caps: (transfer full):
+ *
+ * Called if, in negotiation, caps need fixating.
+ *
+ * Returns: (transfer full): the fixated caps
+ */
GstCaps * (*fixate) (GstBaseSrc *src, GstCaps *caps);
/* notify the subclass of new caps */
gboolean (*set_caps) (GstBaseSrc *src, GstCaps *caps);
/**
* 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.
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.