rtpgstpay: Use the return value of gst_buffer_append()
This commit is contained in:
parent
137672ff18
commit
ef5e14989b
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user