streamcombiner: Fix locking
authorSebastian Dröge <slomo@circular-chaos.org>
Mon, 22 Jul 2013 06:08:27 +0000 (08:08 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Mon, 22 Jul 2013 06:08:27 +0000 (08:08 +0200)
commit9bd140d3b78b6fbf080cbbaa359b7477b6be3ea3
treeb5e739b80f9add7f14faccbc73bb562e4f4852e5
parent2f8b0f1e34833f8da5b3ff7b9b4eb656c4c26a1f
streamcombiner: Fix locking

We have to hold the streams-lock when iterating over all pads,
also the stream-lock of the pad is already locked when we receive
EOS.

Call gst_pad_event_default() for the correct default handling of
events.
gst/encoding/gststreamcombiner.c