glmixer: lock the size of mix->frames to the number of pads
authorMatthew Waters <ystreet00@gmail.com>
Thu, 12 Jun 2014 02:14:35 +0000 (12:14 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:42 +0000 (19:31 +0000)
commit6a7ccd6f3e96ab3b556cec275f2fe83999360e60
tree485ad91a2a11f6676b1ffea162b2898320afe77a
parent31ee764a8a7d5dcbc4af2ff8d0e60241c3e63b94
glmixer: lock the size of mix->frames to the number of pads

Fixes a segfault with decodebin ! glmixer where the request pads on
both sides were being requested after the state change to PAUSED.

Also fixes dynamically adding and removing pads while glmixer is
in a state >= PAUSED.
gst-libs/gst/gl/gstglmixer.c