Event.newBufferSize

gst.event.Event newBufferSize(gst.types.Format format, long minsize, long maxsize, bool async)

Create a new buffersize event. The event is sent downstream and notifies elements that they should provide a buffer of the specified dimensions.

When the async flag is set, a thread boundary is preferred.

Parameters

formatbuffer format
minsizeminimum buffer size
maxsizemaximum buffer size
asyncthread behavior

Returns

a new #GstEvent