Trait gstreamer_gl::prelude::GLBufferPoolExt
source · [−]pub trait GLBufferPoolExt: 'static {
fn gl_allocation_params(&self) -> Option<GLAllocationParams>;
}
Expand description
Required methods
fn gl_allocation_params(&self) -> Option<GLAllocationParams>
fn gl_allocation_params(&self) -> Option<GLAllocationParams>
This is supported on crate feature
v1_20
only.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