summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro.decina@collabora.co.uk>2009-03-06 12:08:42 +0100
committerAlessandro Decina <alessandro.decina@collabora.co.uk>2009-03-06 12:13:14 +0100
commitc20fb4c16f664ba57e23af68586afbdcfcac730c (patch)
treea553e12c0c1843d050cdee392584a66a312f9162 /plugins
parente2ff005e63b684791e577701dd303e1e50b9deaa (diff)
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).
Diffstat (limited to 'plugins')
-rw-r--r--plugins/elements/gstidentity.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c
index 5de322025b..00d0f92f4f 100644
--- a/plugins/elements/gstidentity.c
+++ b/plugins/elements/gstidentity.c
@@ -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);
}
}