rtpgstpay: Use the return value of gst_buffer_append()

This commit is contained in:
Sebastian Dröge 2015-07-01 19:29:07 +02:00
parent 137672ff18
commit ef5e14989b

View file

@ -336,7 +336,7 @@ gst_rtp_gst_pay_create_from_adapter (GstRtpGSTPay * rtpgstpay,
paybuf = gst_adapter_take_buffer_fast (rtpgstpay->adapter, payload_len);
/* create a new group to hold the rtp header and the payload */
gst_buffer_append (outbuf, paybuf);
outbuf = gst_buffer_append (outbuf, paybuf);
GST_BUFFER_PTS (outbuf) = timestamp;