set_drainable


Description:

public void set_drainable (bool enabled)

Configures decoder drain handling.

If drainable, subclass might be handed a NULL buffer to have it return any leftover decoded data. Otherwise, it is not considered so capable and will only ever be passed real data.

MT safe.

Parameters:

this

a Decoder

enabled

new state