projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
541cb2e
)
Improve debug output by logging the offsets. Fixes bug #568678.
author
Sebastian Dröge
<slomo@circular-chaos.org>
Thu, 22 Jan 2009 12:58:57 +0000
(13:58 +0100)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Thu, 22 Jan 2009 12:58:57 +0000
(13:58 +0100)
In create() also log the offsets and not only the
buffer size.
plugins/elements/gstfilesrc.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gstfilesrc.c
b/plugins/elements/gstfilesrc.c
index
964b605
..
522525b
100644
(file)
--- 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;