#GST_FLOW_FLUSHING when appsrc is not PAUSED or PLAYING.
AppSrc.endOfStream
gst.types.FlowReturn endOfStream()Indicates to the appsrc element that the last buffer queued in the element is the last buffer of the stream.
Returns
#GST_FLOW_OK when the EOS was successfully queued.