Commit 869e21bd authored by Sebastian Dröge's avatar Sebastian Dröge

rtp{vorbis,theora}pay: Store headers in the packet buffers lists, not a NULL buffer

https://bugzilla.gnome.org/show_bug.cgi?id=755265
parent acf6c7f8
......@@ -708,7 +708,7 @@ gst_rtp_theora_pay_payload_buffer (GstRtpTheoraPay * rtptheorapay, guint8 TDT,
for (l = rtptheorapay->headers; l; l = l->next)
rtptheorapay->packet_buffers =
g_list_prepend (rtptheorapay->packet_buffers,
gst_buffer_ref (buffer));
gst_buffer_ref (l->data));
}
/* only first (only) configuration cuts length field */
......
......@@ -684,7 +684,7 @@ gst_rtp_vorbis_pay_payload_buffer (GstRtpVorbisPay * rtpvorbispay, guint8 VDT,
for (l = rtpvorbispay->headers; l; l = l->next)
rtpvorbispay->packet_buffers =
g_list_prepend (rtpvorbispay->packet_buffers,
gst_buffer_ref (buffer));
gst_buffer_ref (l->data));
}
/* only first (only) configuration cuts length field */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment