proxy_query_caps


Description:

public bool proxy_query_caps (Query query)

Calls query_caps for all internally linked pads of this and returns the intersection of the results.

This function is useful as a default caps query function for an element that can handle any stream format, but requires all its pads to have the same caps. Two such elements are tee and adder.

Parameters:

this

a Pad to proxy.

query

a CAPS Query.

Returns:

true if query could be executed