utils: allow NULL stream_id also when 0 srcpads
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 11 Sep 2012 09:34:11 +0000 (11:34 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 11 Sep 2012 09:34:11 +0000 (11:34 +0200)
commite85dc9cfc815f09150cd65551d65f788ba48ff94
treee378b8989a051298f20d1b2c8d5b3b91071657f4
parenta85991eeb8eaf15b9d01f3e2013ba1f3dfef38ee
utils: allow NULL stream_id also when 0 srcpads

We usually first create the stream_id for the stream_start event and then add
the pad to the element. This means that this functions should work when there
are no pads on the element yet.
gst/gstutils.c