GstGL.GLBufferPool¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
bufferpool |
r |
||
context |
r |
Class Details¶
- class GstGL.GLBufferPool(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
a
GstGL.GLBufferPool
is an object that allocates buffers withGstGL.GLBaseMemory
A
GstGL.GLBufferPool
is created withGstGL.GLBufferPool.new
()GstGL.GLBufferPool
implements the VideoMeta buffer pool optionGstVideo.BUFFER_POOL_OPTION_VIDEO_META
, the VideoAligment buffer pool optionGstVideo.BUFFER_POOL_OPTION_VIDEO_ALIGNMENT
as well as the OpenGL specificGstGL.BUFFER_POOL_OPTION_GL_SYNC_META
buffer pool option.- classmethod new(context)[source]¶
- Parameters:
context (
GstGL.GLContext
) – theGstGL.GLContext
to use- Returns:
a
Gst.BufferPool
that allocates buffers withGstGL.GLMemory
- Return type:
- get_gl_allocation_params()[source]¶
- Returns:
a copy of the
GstGL.GLAllocationParams
being used by the self- Return type:
The returned
GstGL.GLAllocationParams
will byNone
before the first successful call toGst.BufferPool.set_config
(). Subsequent successful calls toGst.BufferPool.set_config
() will cause this function to return a newGstGL.GLAllocationParams
which may or may not contain the same information.New in version 1.20.