BaseSrc.setAutomaticEos

If automatic_eos is true, src will automatically go EOS if a buffer after the total size is returned. By default this is true but sources that can't return an authoritative size and only know that they're EOS when trying to read more should set this to false.

When src operates in gst.types.Format.Time, #GstBaseSrc will send an EOS when a buffer outside of the currently configured segment is pushed if automatic_eos is true. Since 1.16, if automatic_eos is false an EOS will be pushed only when the #GstBaseSrcClass::create implementation returns gst.types.FlowReturn.Eos.

class BaseSrc
void
setAutomaticEos

Parameters

automaticEos bool

automatic eos