From 869e21bd82c413425e3fa4d959c2ff3f3b0f9430 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 19 Sep 2015 18:44:22 +0200 Subject: [PATCH] rtp{vorbis,theora}pay: Store headers in the packet buffers lists, not a NULL buffer https://bugzilla.gnome.org/show_bug.cgi?id=755265 --- gst/rtp/gstrtptheorapay.c | 2 +- gst/rtp/gstrtpvorbispay.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/rtp/gstrtptheorapay.c b/gst/rtp/gstrtptheorapay.c index 7024835..cf5c485 100644 --- a/gst/rtp/gstrtptheorapay.c +++ b/gst/rtp/gstrtptheorapay.c @@ -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 */ diff --git a/gst/rtp/gstrtpvorbispay.c b/gst/rtp/gstrtpvorbispay.c index 3bc1c6f..bd8ee41 100644 --- a/gst/rtp/gstrtpvorbispay.c +++ b/gst/rtp/gstrtpvorbispay.c @@ -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 */ -- 2.7.4