title: gstreamer 1.0 error control and sending eos
body: <p>Okey regarding gstreamer 1.0 documentation and porting guide I didn't found anything about events.I tried to set an eos signal in my pipeline so that mp4mux can finalize stream like this:</p>
  
  <pre><code>self.pipe.send_event(Gst.event_new_eos())
  </code></pre>
  
  <p>but got error:</p>
  
  <pre><code>AttributeError: 'gi.repository.Gst' object has no attribute 'event_new_eos'
  </code></pre>
  
  <p>And I tought I got spelling or something wrong I googled and found few examples in 0.10 and nothing on 1.0 but the problem is that I didn't found anything about <code>send_event</code> or <code>Gst.event_new_eos()</code> in porting guide.I would be grateful if somebody could tell me what am I missing here?</p>
  
  <p>Regarding gstreamer and tee element Iam curious about handling different branches for example if I have this pipeline :</p>
  
  <pre><code>  gst-launch-1.0 -e videotestsrc ! tee name=spliter  spliter. ! queue ! udpsink  spliter. ! queue ! x264enc ! mp4mux ! filesink location=something.mp4
  </code></pre>
  
  <p>How could I handle problems like lost connection or not enough hard disk without pipeline going down when something like that happens?</p>