wavenc: Allow setcaps to be called after a format was negotiated if it's compatible
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 29 Apr 2011 06:55:19 +0000 (08:55 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 15 Jun 2011 20:06:49 +0000 (21:06 +0100)
commitb2f198356057b9861502b092f217539b69ffa89a
tree71412f65437a4162cde9190f039f1eaf2ab49b88
parenta2d88f90dc58725d61d0c10276ce60739fac7867
wavenc: Allow setcaps to be called after a format was negotiated if it's compatible

Otherwise wavenc will fail if upstream decides to set equivalent caps or caps
with additional information later.

Thanks to Alexander Schremmer for finding this bug.
gst/wavenc/gstwavenc.c