update_src_caps


Description:

[ Version ( since = "1.6" ) ]
public bool update_src_caps (Caps updated_caps)

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:

this

a Transform

updated_caps

An updated version of the srcpad caps to be pushed downstream

Returns:

true if the caps could be sent downstream false otherwise