Skip to main content

probe

Function probe 

Source
pub fn probe(display: &Display, codec: Codec) -> Result<()>
Expand description

Checks that display’s driver can encode codec, which is what Encoder::new needs of a render node.

§Errors

Fails when the driver offers neither the full nor the low-power Main profile encode entrypoint for codec, or cannot be asked.