mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
adapter: change log message properly
https://bugzilla.gnome.org/show_bug.cgi?id=752116
This commit is contained in:
parent
6c93236462
commit
427400be1d
1 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue