mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-22 10:23:47 +00:00
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:
parent
acf6c7f83b
commit
869e21bd82
2 changed files with 2 additions and 2 deletions
|
@ -708,7 +708,7 @@ gst_rtp_theora_pay_payload_buffer (GstRtpTheoraPay * rtptheorapay, guint8 TDT,
|
||||||
for (l = rtptheorapay->headers; l; l = l->next)
|
for (l = rtptheorapay->headers; l; l = l->next)
|
||||||
rtptheorapay->packet_buffers =
|
rtptheorapay->packet_buffers =
|
||||||
g_list_prepend (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 */
|
/* 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)
|
for (l = rtpvorbispay->headers; l; l = l->next)
|
||||||
rtpvorbispay->packet_buffers =
|
rtpvorbispay->packet_buffers =
|
||||||
g_list_prepend (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 */
|
/* only first (only) configuration cuts length field */
|
||||||
|
|
Loading…
Reference in a new issue