From c20fb4c16f664ba57e23af68586afbdcfcac730c Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Fri, 6 Mar 2009 12:08:42 +0100 Subject: [PATCH] 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). --- plugins/elements/gstidentity.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c index 5de3220..00d0f92 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); } } -- 2.7.4