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)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 14 May 2011 09:52:12 +0000 (11:52 +0200)
commitf8ed8dd6137482bc830e6599b397bdbe854c1e62
tree648c75e61408744011d77df9dea50414f03cf2bb
parentb6219112b3fd72c64adc6edb2bddecb189b45bb5
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