Trait gstreamer_gl::prelude::GLBufferPoolExt

source ·
pub trait GLBufferPoolExt:
    IsA<GLBufferPool>
    + Sealed
    + 'static {
    // Provided method
    fn gl_allocation_params(&self) -> Option<GLAllocationParams> { ... }
}
Expand description

Trait containing all GLBufferPool methods.

§Implementors

GLBufferPool

Provided Methods§

source

fn gl_allocation_params(&self) -> Option<GLAllocationParams>

The returned GLAllocationParams will by None before the first successful call to BufferPoolExtManual::set_config(). Subsequent successful calls to BufferPoolExtManual::set_config() will cause this function to return a new GLAllocationParams which may or may not contain the same information.

§Returns

a copy of the GLAllocationParams being used by the self

Object Safety§

This trait is not object safe.

Implementors§