-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
this probe:
dynamic-gstreamer-pipelines-cookbook/05-add-and-remove-network-sink.py
Lines 134 to 147 in b8372d6
| 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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels