dynamic-gstreamer-pipelines-cookbook
dynamic-gstreamer-pipelines-cookbook copied to clipboard
no EOS event is sent when dynamically removing a sink from the pipeline
this probe: https://github.com/MaZderMind/dynamic-gstreamer-pipelines-cookbook/blob/b8372d6801d8acac3cc538c18c1ecde112122ecf/05-add-and-remove-network-sink.py#L134-L147 sets the sink to NULL and removes it from the pipeline immediately. If one needed to, for example, properly finish writing a video to a file - one would need to send a EOS event to the pipeline first. How would the sequence of events unfold then?