summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2009-01-22 13:58:57 +0100
committerSebastian Dröge <slomo@circular-chaos.org>2009-01-22 13:58:57 +0100
commite5ce2995936a5f9b81e298dfc57f90d19b000a1a (patch)
treeffd050eadd3512ef2b90bbc6feaa83cb35a0f700 /plugins
parent541cb2e914d61e60047cabcd326e84e555fb2251 (diff)
Improve debug output by logging the offsets. Fixes bug #568678.
In create() also log the offsets and not only the buffer size.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/elements/gstfilesrc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c
index 964b60599a..522525b57f 100644
--- a/plugins/elements/gstfilesrc.c
+++ b/plugins/elements/gstfilesrc.c
@@ -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;