GNOME Bugzilla – Bug 748875
opusparse: Generates caps with a rate=0
Last modified: 2015-05-04 08:51:13 UTC
Created attachment 302842 [details] [review] opusheader: Do not include rate in caps if it is 0 Running this pipelie produces a not-negotiated error because opusparse sets the rate=0 gst-launch-1.0 audiotestsrc ! opusenc ! rtpopuspay ! rtpopusdepay ! opusparse ! opusdec ! alsasink Attached is a patch to solve the issue, not setting rate in caps if its value is zero.
commit de827c792dcce91b44c6a8825af60923b9678f7b Author: Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Date: Mon May 4 10:35:55 2015 +0200 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