From e15c293f13429f3d4894f332db5026cbf1fd77e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Wed, 2 Nov 2011 12:58:12 -0400 Subject: [PATCH] rtph263ppay: Return the sink pad template as sink caps, not the src's https://bugzilla.gnome.org/show_bug.cgi?id=577784 --- gst/rtp/gstrtph263ppay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtp/gstrtph263ppay.c b/gst/rtp/gstrtph263ppay.c index e05293a..0cbe2c0 100644 --- a/gst/rtp/gstrtph263ppay.c +++ b/gst/rtp/gstrtph263ppay.c @@ -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))); -- 2.7.4