~ubuntu-branches/ubuntu/precise/gst-plugins-bad0.10/precise-proposed

« back to all changes in this revision

Viewing changes to gst/segmentclip/gstsegmentclip.c

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-07-19 14:32:43 UTC
  • mfrom: (18.4.21 sid)
  • Revision ID: james.westby@ubuntu.com-20110719143243-p7pnkh45akfp0ihk
Tags: 0.10.22-2ubuntu1
* Rebased on debian unstable, remaining changes:
  - debian/gstreamer-plugins-bad.install
    * don't include dtmf, liveadder, rtpmux, autoconvert and shm, we include 
      them in -good

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
  GST_LOG_OBJECT (pad, "Got %s event", GST_EVENT_TYPE_NAME (event));
272
272
 
273
273
  otherpad = (pad == self->srcpad) ? self->sinkpad : self->srcpad;
274
 
  ret = gst_pad_push_event (otherpad, event);
 
274
  ret = gst_pad_push_event (otherpad, gst_event_ref (event));
275
275
 
276
276
  if (ret) {
277
277
    switch (GST_EVENT_TYPE (event)) {
300
300
    }
301
301
  }
302
302
 
 
303
  gst_event_unref (event);
 
304
 
303
305
  gst_object_unref (self);
304
306
  return ret;
305
307
}