wavenc: Return not-negotiated if we got no caps or caps negotiation failed
authorSebastian Dröge <sebastian@centricular.com>
Thu, 10 Jul 2014 10:10:45 +0000 (12:10 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 10 Jul 2014 12:37:31 +0000 (14:37 +0200)
commitdd5144fd4ef5cfb1ee45d4009ea2bc4775395874
tree369b385916aa18d1d62b2832c64cb06a1c608506
parent12a3bdbd09abd8535d50a7c6c049e076b0e99be3
wavenc: Return not-negotiated if we got no caps or caps negotiation failed

And do it always, not inside a g_return_val_if_fail().

See https://bugzilla.gnome.org/show_bug.cgi?id=732939
gst/wavenc/gstwavenc.c