mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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
This commit is contained in:
parent
065bdf5925
commit
3f8ad30cee
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ gst_rtp_h264_pay_getcaps (GstRTPBasePayload * payload, GstPad * pad,
|
|||
guint i;
|
||||
|
||||
allowed_caps =
|
||||
gst_pad_peer_query_caps (GST_RTP_BASE_PAYLOAD_SRCPAD (payload), filter);
|
||||
gst_pad_peer_query_caps (GST_RTP_BASE_PAYLOAD_SRCPAD (payload), NULL);
|
||||
|
||||
if (allowed_caps == NULL)
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue