collectpads: don't forward random stream-start event
authorTim-Philipp Müller <tim@centricular.net>
Sun, 23 Sep 2012 11:42:01 +0000 (12:42 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 23 Sep 2012 11:42:01 +0000 (12:42 +0100)
commit226d96f10715e7b25754e6bf423100cc7382983f
treefaae3d97168a22af665f86519c9793ead05cb020
parentb582ec5c815ecb462da45b0d240cd3c91cba0205
collectpads: don't forward random stream-start event

It's not right, and we don't know what extra properties
that event might have set in future (e.g. sparseness).
This change means collectpad users need to create their
own stream-start event now. We could add a utility
function that creates a stream-start event based on
the input stream-start events.
libs/gst/base/gstcollectpads.c