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:
f94bfc6
)
v4l2: log more details in buffer pool finalize
author
Stefan Kost
<ensonic@users.sf.net>
Tue, 16 Feb 2010 08:13:17 +0000
(10:13 +0200)
committer
Stefan Kost
<ensonic@users.sf.net>
Tue, 16 Feb 2010 08:15:22 +0000
(10:15 +0200)
Helps to align with the loggin from libv4l.
sys/v4l2/gstv4l2bufferpool.c
patch
|
blob
|
history
diff --git
a/sys/v4l2/gstv4l2bufferpool.c
b/sys/v4l2/gstv4l2bufferpool.c
index
4b84b3d
..
c13bb1e
100644
(file)
--- a/
sys/v4l2/gstv4l2bufferpool.c
+++ b/
sys/v4l2/gstv4l2bufferpool.c
@@
-91,8
+91,9
@@
gst_v4l2_buffer_finalize (GstV4l2Buffer * buffer)
GST_V4L2_BUFFER_POOL_UNLOCK (pool);
if (!resuscitated) {
- GST_LOG_OBJECT (pool->v4l2elem, "buffer %p not recovered, unmapping",
- buffer);
+ GST_LOG_OBJECT (pool->v4l2elem,
+ "buffer %p (data %p, len %u) not recovered, unmapping",
+ buffer, GST_BUFFER_DATA (buffer), buffer->vbuffer.length);
gst_mini_object_unref (GST_MINI_OBJECT (pool));
v4l2_munmap ((void *) GST_BUFFER_DATA (buffer), buffer->vbuffer.length);