Original commit message from CVS:
* gst/rtp/gstrtpg729pay.c: (gst_rtp_g729_pay_set_caps):
Don't ignore the return value of setcaps.
2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
+ * gst/rtp/gstrtpg729pay.c: (gst_rtp_g729_pay_set_caps):
+ Don't ignore the return value of setcaps.
+
+2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
+
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtp/gstrtpg729pay.c: (gst_rtp_g729_pay_base_init),
static gboolean
gst_rtp_g729_pay_set_caps (GstBaseRTPPayload * payload, GstCaps * caps)
{
+ gboolean res;
GstStructure *structure;
gint pt;
payload->pt = pt;
payload->dynamic = pt != GST_RTP_PAYLOAD_G729;
- gst_basertppayload_set_outcaps (payload, NULL);
+ res = gst_basertppayload_set_outcaps (payload, NULL);
- return TRUE;
+ return res;
}
static GstFlowReturn