set_drainable


Description:

public void set_drainable (bool enabled)

Configures encoder drain handling.

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

MT safe.

Parameters:

this

a Encoder

enabled

new state