identity: ignore the return value of gst_pad_event_default when sending out the newse...
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Fri, 6 Mar 2009 11:08:42 +0000 (12:08 +0100)
committerAlessandro Decina <alessandro.decina@collabora.co.uk>
Fri, 6 Mar 2009 11:13:14 +0000 (12:13 +0100)
This makes identity single-segment=true ! oggmux work again after a change in
oggmux (commit b0e3d449 in -base).

plugins/elements/gstidentity.c

index 5de3220..00d0f92 100644 (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);
     }
   }