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

https://bugzilla.gnome.org/show_bug.cgi?id=755265
This commit is contained in:
Sebastian Dröge 2015-09-19 18:44:22 +02:00
parent acf6c7f83b
commit 869e21bd82
2 changed files with 2 additions and 2 deletions

View file

@ -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 */

View file

@ -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 */