rtph264pay: Don't use upstream caps with peer_query_caps ()
authorOgnyan Tonchev <ognyan@axis.com>
Mon, 11 Mar 2013 13:50:41 +0000 (14:50 +0100)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Mon, 11 Mar 2013 20:55:13 +0000 (16:55 -0400)
commit3f8ad30ceeb190473d745698f347404203e19b1d
tree0dcfb667ade2d64f625223a38df6606c2fbf0794
parent065bdf5925263ade5c7aba11c2673dcd2cc13501
rtph264pay: Don't use upstream caps with peer_query_caps ()

Calling gst_pad_peer_query_caps () on the src pad with the caps
upstream can produce as a filter from gst_rtp_h264_pay_getcaps ()
is wrong and makes caps negotiation fail if upstream caps are not
NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=695629
gst/rtp/gstrtph264pay.c