opusheader: Do not include rate in caps if it is 0
authorJose Antonio Santos Cadenas <santoscadenas@gmail.com>
Mon, 4 May 2015 08:35:55 +0000 (10:35 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 4 May 2015 08:50:42 +0000 (10:50 +0200)
commit8dde6b170bfa2058fadbd73df714541129fb19aa
treed53eec11383fe398451175a39a9620fb3b1466c8
parent97c3e548d66b8a1bd1f0fc7c7047a69f0896c4b5
opusheader: Do not include rate in caps if it is 0

As expressed in gst_opus_header_create_caps, value 0 means unset.
Setting rate value to 0 make negotiation with decoder fail.

https://bugzilla.gnome.org/show_bug.cgi?id=748875
ext/opus/gstopusheader.c