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_FORMAT_TIME, gst.BaseSrc.BaseSrc 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 gst.BaseSrc.BaseSrc.create implementation returns GST_FLOW_EOS.

class BaseSrc
void
setAutomaticEos

Parameters

automaticEos bool

automatic eos

Meta