App sequence error release pad called before push events

hi,i use runtime_source_add_delete sample,when close video

call self.streammux.release_request_pad(sinkpad)

state_return = detectionItemSource.bin.get_state(Gst.CLOCK_TIME_NONE)
pad_name = “sink_%u” % detectionItemSource.sourceID
sinkpad = self.streammux.get_static_pad(pad_name)
sinkpad.send_event(Gst.Event.new_flush_stop(False))
self.streammux.release_request_pad(sinkpad)
self.pipeline.remove(detectionItemSource.bin)

App sequence error release pad called before push events
App sequence error release pad called before push events
App sequence error release pad called before push events
App sequence error release pad called before push events
App sequence error release pad called before push events
App sequence error release pad called before push events
App sequence error release pad called before push events
App sequence error release pad called before push events
App sequence error release pad called before push events
App sequence error release pad called before push events
100ms timeout exhausted. App sequence error release pad called before push events
0:00:35.386465218 34078 0x7f2cb8004380 INFO GST_ELEMENT_PADS gstelement.c:787:gst_element_remove_pad: removing pad ‘sink_1’
0:00:35.386591360 34078 0x7f2cb8004380 INFO GST_PARENTAGE gstbin.c:1801:gst_bin_remove_func: removed child “source-bin-1”

Did you change our demo code? From the log info, you remove the pad without sending the EOS message.

hi,yuweiw, there is no EOS message in the demo. Send the demo using runtime_ source_ add_ There is no EOS message sent in the delete demo, and the error message is consistent with my program

How much have you changed our code? Did you set the GST_STATE_NULL state before you remove it?

  state_return =
      gst_element_set_state (g_source_bin_list[source_id], GST_STATE_NULL);

I did not change the code, and the “runtime_source_add_delete” example reported an error

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one.
Thanks

Please attach your
• Hardware Platform (Jetson / GPU)
• DeepStream Version -
• TensorRT Version -
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, bugs)
• How to reproduce the issue ?
Is this topic same as the https://forums.developer.nvidia.com/t/nx-just-play-one-rtsp-video/232445 ?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.