mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
Improve debug output by logging the offsets. Fixes bug #568678.
In create() also log the offsets and not only the buffer size.
This commit is contained in:
parent
541cb2e914
commit
e5ce299593
1 changed files with 2 additions and 1 deletions
|
@ -830,7 +830,8 @@ gst_file_src_create_read (GstFileSrc * src, guint64 offset, guint length,
|
|||
return GST_FLOW_ERROR;
|
||||
}
|
||||
|
||||
GST_LOG_OBJECT (src, "Reading %d bytes", length);
|
||||
GST_LOG_OBJECT (src, "Reading %d bytes at offset 0x%" G_GINT64_MODIFIER "x",
|
||||
length, offset);
|
||||
ret = read (src->fd, GST_BUFFER_DATA (buf), length);
|
||||
if (G_UNLIKELY (ret < 0))
|
||||
goto could_not_read;
|
||||
|
|
Loading…
Reference in a new issue