BaseTransform.updateSrcCaps

Updates the srcpad caps and send 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 informations). This way, they can notify downstream about that change without loosing 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 send downstream %FALSE otherwise

Meta