Skip to content

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

@wolterlw

Description

@wolterlw

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions