mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
v4l2: log more details in buffer pool finalize
Helps to align with the loggin from libv4l.
This commit is contained in:
parent
f94bfc65a5
commit
0134e950fa
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue