set_needs_format


Description:

public void set_needs_format (bool enabled)

Configures decoder format needs.

If enabled, subclass needs to be negotiated with format caps before it can process any data. It will then never be handed any data before it has been configured. Otherwise, it might be handed data without having been configured and is then expected being able to do so either by default or based on the input data.

MT safe.

Parameters:

this

a Decoder

enabled

new state