BaseTransform.updateSrcCaps

bool updateSrcCaps(gst.caps.Caps updatedCaps)

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.

Parameters

updatedCapsAn updated version of the srcpad caps to be pushed downstream

Returns

true if the caps could be sent downstream false otherwise