mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
gst/rtp/gstrtpg729pay.c: Don't ignore the return value of setcaps.
Original commit message from CVS: * gst/rtp/gstrtpg729pay.c: (gst_rtp_g729_pay_set_caps): Don't ignore the return value of setcaps.
This commit is contained in:
parent
774f238b96
commit
4c62e33eac
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
|
|
@ -126,6 +126,7 @@ gst_rtp_g729_pay_init (GstRTPG729Pay * pay, GstRTPG729PayClass * klass)
|
|||
static gboolean
|
||||
gst_rtp_g729_pay_set_caps (GstBaseRTPPayload * payload, GstCaps * caps)
|
||||
{
|
||||
gboolean res;
|
||||
GstStructure *structure;
|
||||
gint pt;
|
||||
|
||||
|
@ -136,9 +137,9 @@ gst_rtp_g729_pay_set_caps (GstBaseRTPPayload * payload, GstCaps * caps)
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue