identity: ignore the return value of gst_pad_event_default when sending out the newsegment event in single-segment mode.

This makes identity single-segment=true ! oggmux work again after a change in
oggmux (commit b0e3d449 in -base).
This commit is contained in:
Alessandro Decina 2009-03-06 12:08:42 +01:00
parent e2ff005e63
commit c20fb4c16f

View file

@ -333,8 +333,7 @@ gst_identity_event (GstBaseTransform * trans, GstEvent * event)
/* This is the first newsegment, send out a (0, -1) newsegment */
news = gst_event_new_new_segment (TRUE, 1.0, format, 0, -1, 0);
if (!(gst_pad_event_default (trans->sinkpad, news)))
return FALSE;
gst_pad_event_default (trans->sinkpad, news);
}
}