title: How to remove a branch of tee in an active GStreamer pipeline?
body: <p>everyone</p>
  
  <p>The version of GStreamer I use is 1.x. I've spent a lot of time in searching a way to delete a tee branch.</p>
  
  <p>In an active pipeline, a recording bin is created as below and inserted into this pipeline by branching the tee element. </p>
  
  <p>"queue ! video/x-h264, width=800, height=600, framerate=10/1, stream-format=(string)byte-stream ! h264parse ! mp4mux ! filesink location=/xxxx"</p>
  
  <p>It works perfectly except that I want to dynamically delete the recording bin and get a playable mp4 file. According to some discussion and tutorial, to get a correct mp4 file , we need to handle something about EOS. After trying some methods, I always got broken mp4 files. </p>
  
  <p>Does anyone have sample code written in C to show me ? I'd appreciate your help. </p>