create

abstract suspend fun create(stream: PlayerStreamInfo, hwdec: HwdecPolicy): VideoDecoder?

Null when this factory cannot handle the stream. The engine then tries the next candidate.


open suspend fun create(stream: PlayerStreamInfo, hwdec: HwdecPolicy, deinterlace: DeinterlacePolicy): VideoDecoder?

create with the player's deinterlacing policy, which is what the engine calls. The default ignores deinterlace; a factory that can deinterlace overrides this.