Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

no EOS event is sent when dynamically removing a sink from the pipeline #1

Open
wolterlw opened this issue Jan 17, 2025 · 0 comments
Open

Comments

@wolterlw
Copy link

this probe:

def blocking_pad_probe(pad, info):
log.info("Stopping Bin")
log.debug(txbin.set_state(Gst.State.NULL))
log.info("Removing Bin from Pipeline")
log.debug(pipeline.remove(txbin))
log.info("Releasing Tee-Pad")
log.debug(tee.release_request_pad(teepad))
Gst.debug_bin_to_dot_file_with_ts(pipeline, Gst.DebugGraphDetails.ALL, "remove_bin_%u_after" % port)
log.info("Removed RTP-Bin for Port %d to the Pipeline" % port)
return Gst.PadProbeReturn.REMOVE

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant