set_automatic_eos


Description:

[ Version ( since = "1.4" ) ]
public void set_automatic_eos (bool automatic_eos)

If automatic_eos is true, this 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 this operates in TIME, Src 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 EOS.

Parameters:

this

base source instance

automatic_eos

automatic eos