interleave: error when channel-positions-from-input=False
authorVineeth TM <vineeth.tm@samsung.com>
Thu, 4 Jun 2015 05:18:01 +0000 (14:18 +0900)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 5 Jun 2015 11:48:25 +0000 (08:48 -0300)
commit0e5631c5c002c1ae8ad9db06fb8b6806ba5b625c
tree5dd9a021235d3b263c7e2a88b88a9472f338a7cb
parent8f5bdf96900c1afbfb09605f71343fde8391dbe3
interleave: error when channel-positions-from-input=False

self->channels is being incremented only when
channel-positions-from-input is set as TRUE. So in case of FALSE
self->func is not set and hence creating assertion error.
Hence removing the condition to increment self->channels.

https://bugzilla.gnome.org/show_bug.cgi?id=744211
gst/interleave/interleave.c