jitterbuffer: Allow rtp caps without clock-rate
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 8 Aug 2014 01:58:14 +0000 (21:58 -0400)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Thu, 21 Aug 2014 22:32:58 +0000 (18:32 -0400)
commita98341397d3522fdc7470c4220775035a2d1d790
tree317fd05b8f2b5ceae5c606bc3777cc36d7ac9a38
parentfa103ca5ad5b17e4a6162c3e166134bd7d89c254
jitterbuffer: Allow rtp caps without clock-rate

The jitterbuffer shouldn't force clock-rate on its sink pad, this will cause a negotiation issue since rtpssrcdemux doesn't have the clock-rate and doesn't add it to the caps. The documentation states that the clock-rate can either be specified through the caps or through the request-pt-map signal, so we must remove clock-rate from the pad templates and we must accept the GST_EVENT_CAPS if the caps don't have the clock-rate.

https://bugzilla.gnome.org/show_bug.cgi?id=734322
gst/rtpmanager/gstrtpjitterbuffer.c