From 427400be1d2968c73d8bd0cc03bf840538a25be0 Mon Sep 17 00:00:00 2001 From: Hyunjun Ko Date: Fri, 10 Jul 2015 11:01:21 +0900 Subject: [PATCH] adapter: change log message properly https://bugzilla.gnome.org/show_bug.cgi?id=752116 --- libs/gst/base/gstadapter.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/gst/base/gstadapter.c b/libs/gst/base/gstadapter.c index 0e4f213..3661db4 100644 --- a/libs/gst/base/gstadapter.c +++ b/libs/gst/base/gstadapter.c @@ -1108,11 +1108,11 @@ gst_adapter_get_list (GstAdapter * adapter, gsize nbytes) hsize = MIN (nbytes, cur_size - skip); if (skip == 0 && cur_size == hsize) { - GST_LOG_OBJECT (adapter, "providing buffer of %" G_GSIZE_FORMAT " bytes" - " as head buffer", hsize); + GST_LOG_OBJECT (adapter, + "inserting a buffer of %" G_GSIZE_FORMAT " bytes", hsize); buffer = gst_buffer_ref (cur); } else { - GST_LOG_OBJECT (adapter, "appending %" G_GSIZE_FORMAT " bytes" + GST_LOG_OBJECT (adapter, "inserting a buffer of %" G_GSIZE_FORMAT " bytes" " via region copy", hsize); buffer = gst_buffer_copy_region (cur, GST_BUFFER_COPY_ALL, skip, hsize); } @@ -1232,11 +1232,11 @@ gst_adapter_get_buffer_list (GstAdapter * adapter, gsize nbytes) hsize = MIN (nbytes, cur_size - skip); if (skip == 0 && cur_size == hsize) { - GST_LOG_OBJECT (adapter, "providing buffer of %" G_GSIZE_FORMAT " bytes" - " as head buffer", hsize); + GST_LOG_OBJECT (adapter, + "inserting a buffer of %" G_GSIZE_FORMAT " bytes", hsize); buffer = gst_buffer_ref (cur); } else { - GST_LOG_OBJECT (adapter, "appending %" G_GSIZE_FORMAT " bytes" + GST_LOG_OBJECT (adapter, "inserting a buffer of %" G_GSIZE_FORMAT " bytes" " via region copy", hsize); buffer = gst_buffer_copy_region (cur, GST_BUFFER_COPY_ALL, skip, hsize); } -- 2.7.4