From 161310fa23cd82d4cf96a4a19afa5e6ad60a4f11 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 29 Oct 2011 08:25:27 +0200 Subject: [PATCH] bufferlist: update for new API --- gst/rtpmanager/rtpsession.c | 2 +- gst/rtpmanager/rtpsource.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 2c0834eed9..ecbe44bcda 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -2427,7 +2427,7 @@ rtp_session_send_rtp (RTPSession * sess, gpointer data, gboolean is_list, if (is_list) { GstBufferList *blist = GST_BUFFER_LIST_CAST (data); - gint i, len = gst_buffer_list_len (blist); + gint i, len = gst_buffer_list_length (blist); valid_packet = TRUE; for (i = 0; i < len; i++) diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c index ec27ddaa4c..6158c1033a 100644 --- a/gst/rtpmanager/rtpsource.c +++ b/gst/rtpmanager/rtpsource.c @@ -1234,7 +1234,7 @@ rtp_source_send_rtp (RTPSource * src, gpointer data, gboolean is_list, gint i; /* Each group makes up a network packet. */ - packets = gst_buffer_list_len (list); + packets = gst_buffer_list_length (list); for (i = 0, len = 0; i < packets; i++) { gst_rtp_buffer_map (gst_buffer_list_get (list, i), GST_MAP_READ, &rtp); len += gst_rtp_buffer_get_payload_len (&rtp);