VideoDecoder.setNeedsFormat

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.

class VideoDecoder
void
setNeedsFormat
(
bool enabled
)

Parameters

enabled bool

new state