diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-11-11 17:33:00 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-11-11 17:33:00 +0000 |
commit | 4c62e33eac0fdace20f2de7b9bd3aabf7bbb2074 (patch) | |
tree | 7d33f7a36f7ade784bc0ca3a617bc8504d30d986 /gst | |
parent | 774f238b96ab88540515ed9d88dc826ee7b558ca (diff) |
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.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtp/gstrtpg729pay.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/rtp/gstrtpg729pay.c b/gst/rtp/gstrtpg729pay.c index ca8674b2..8fd19c13 100644 --- a/gst/rtp/gstrtpg729pay.c +++ b/gst/rtp/gstrtpg729pay.c @@ -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 |