BaseSinkGidBuilderImpl.enableLastSample

Set enableLastSample property.

class BaseSinkGidBuilderImpl(T)
T
enableLastSample
(
bool propval
)

Parameters

propval bool

Enable the last-sample property. If false, basesink doesn't keep a reference to the last buffer arrived and the last-sample property is always set to null. This can be useful if you need buffers to be released as soon as possible, eg. if you're using a buffer pool.

Return Value

Type: T

Builder instance for fluent chaining