mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
v4l2allocator: Don't trace twice the same message
This commit is contained in:
parent
782d65cab1
commit
58716e054f
1 changed files with 4 additions and 4 deletions
|
@ -964,9 +964,9 @@ gst_v4l2_allocator_alloc_dmabufin (GstV4l2Allocator * allocator)
|
||||||
if (group == NULL)
|
if (group == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
for (i = 0; i < group->n_mem; i++) {
|
GST_LOG_OBJECT (allocator, "allocating empty DMABUF import group");
|
||||||
GST_LOG_OBJECT (allocator, "allocation empty DMABUF import group");
|
|
||||||
|
|
||||||
|
for (i = 0; i < group->n_mem; i++) {
|
||||||
if (group->mem[i] == NULL) {
|
if (group->mem[i] == NULL) {
|
||||||
group->mem[i] = (GstMemory *) _v4l2mem_new (0, GST_ALLOCATOR (allocator),
|
group->mem[i] = (GstMemory *) _v4l2mem_new (0, GST_ALLOCATOR (allocator),
|
||||||
NULL, 0, 0, 0, 0, i, NULL, -1, group);
|
NULL, 0, 0, 0, 0, i, NULL, -1, group);
|
||||||
|
@ -1027,9 +1027,9 @@ gst_v4l2_allocator_alloc_userptr (GstV4l2Allocator * allocator)
|
||||||
if (group == NULL)
|
if (group == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
for (i = 0; i < group->n_mem; i++) {
|
GST_LOG_OBJECT (allocator, "allocating empty USERPTR group");
|
||||||
|
|
||||||
GST_LOG_OBJECT (allocator, "allocating empty USERPTR group");
|
for (i = 0; i < group->n_mem; i++) {
|
||||||
|
|
||||||
if (group->mem[i] == NULL) {
|
if (group->mem[i] == NULL) {
|
||||||
group->mem[i] = (GstMemory *) _v4l2mem_new (0, GST_ALLOCATOR (allocator),
|
group->mem[i] = (GstMemory *) _v4l2mem_new (0, GST_ALLOCATOR (allocator),
|
||||||
|
|
Loading…
Reference in a new issue