summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunjun Ko <zzoon.ko@samsung.com>2015-07-10 11:01:21 +0900
committerSebastian Dröge <sebastian@centricular.com>2015-07-10 10:46:38 +0300
commit427400be1d2968c73d8bd0cc03bf840538a25be0 (patch)
treeae8439e538b1b4d9544d3f71f039961f27dc897b
parent6c93236462b39ce8bf56d15cf0cdc761c104abcf (diff)
adapter: change log message properly
https://bugzilla.gnome.org/show_bug.cgi?id=752116
-rw-r--r--libs/gst/base/gstadapter.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/gst/base/gstadapter.c b/libs/gst/base/gstadapter.c
index 0e4f213c6..3661db431 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);
}