negotiate


Description:

[ Version ( since = "1.18" ) ]
public virtual bool negotiate ()

Negotiates src pad caps with downstream elements.

Unmarks GST_PAD_FLAG_NEED_RECONFIGURE in any case. But marks it again if GstBaseSrcClass::negotiate fails.

Do not call this in the GstBaseSrcClass::fill vmethod. Call this in GstBaseSrcClass::create or in GstBaseSrcClass::alloc, _before_ any buffer is allocated.

Parameters:

this

base source instance

Returns:

true if the negotiation succeeded, else false.




2022 vala-language.org