projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065bdf5
)
rtph264pay: Don't use upstream caps with peer_query_caps ()
author
Ognyan Tonchev
<ognyan@axis.com>
Mon, 11 Mar 2013 13:50:41 +0000
(14:50 +0100)
committer
Olivier CrĂȘte
<olivier.crete@collabora.com>
Mon, 11 Mar 2013 20:55:13 +0000
(16:55 -0400)
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
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtph264pay.c
b/gst/rtp/gstrtph264pay.c
index
4d347ee
..
5af7f0d
100644
(file)
--- a/
gst/rtp/gstrtph264pay.c
+++ b/
gst/rtp/gstrtph264pay.c
@@
-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;