rtph263ppay: Return the sink pad template as sink caps, not the src's

https://bugzilla.gnome.org/show_bug.cgi?id=577784
This commit is contained in:
Olivier Crête 2011-11-02 12:58:12 -04:00 committed by Mark Nauwelaerts
parent 4b28d9d44e
commit e15c293f13

View file

@ -247,7 +247,7 @@ gst_rtp_h263p_pay_sink_getcaps (GstBaseRTPPayload * payload, GstPad * pad)
if (!peercaps)
return
gst_caps_copy (gst_pad_get_pad_template_caps
(GST_BASE_RTP_PAYLOAD_SRCPAD (payload)));
(GST_BASE_RTP_PAYLOAD_SINKPAD (payload)));
intersect = gst_caps_intersect (peercaps,
gst_pad_get_pad_template_caps (GST_BASE_RTP_PAYLOAD_SRCPAD (payload)));