BaseTransform.updateSrcCaps

Updates the srcpad caps and sends the caps downstream. This function can be used by subclasses when they have already negotiated their caps but found a change in them (or computed new information). This way, they can notify downstream about that change without losing any buffer.

class BaseTransform
bool
updateSrcCaps

Parameters

updatedCaps Caps

An updated version of the srcpad caps to be pushed downstream

Return Value

Type: bool

%TRUE if the caps could be sent downstream %FALSE otherwise

Meta