size.index = 0;
size.pixel_format = pixelformat;
- GST_DEBUG_OBJECT (v4l2camsrc, "Enumerating frame sizes");
+ GST_LOG_OBJECT (v4l2camsrc, "Enumerating frame sizes");
if (ioctl (fd, VIDIOC_ENUM_FRAMESIZES, &size) < 0)
goto enum_framesizes_failed;
}
size.index++;
} while (ioctl (fd, VIDIOC_ENUM_FRAMESIZES, &size) >= 0);
- GST_DEBUG_OBJECT (v4l2camsrc,
+ GST_LOG_OBJECT (v4l2camsrc,
"done iterating discrete frame sizes");
} else if (size.type == V4L2_FRMSIZE_TYPE_STEPWISE) {
- GST_DEBUG_OBJECT (v4l2camsrc, "we have stepwise frame sizes:");
- GST_DEBUG_OBJECT (v4l2camsrc, "min width: %d",
+ GST_LOG_OBJECT (v4l2camsrc, "we have stepwise frame sizes:");
+ GST_LOG_OBJECT (v4l2camsrc, "min width: %d",
size.stepwise.min_width);
- GST_DEBUG_OBJECT (v4l2camsrc, "min height: %d",
+ GST_LOG_OBJECT (v4l2camsrc, "min height: %d",
size.stepwise.min_height);
- GST_DEBUG_OBJECT (v4l2camsrc, "max width: %d",
+ GST_LOG_OBJECT (v4l2camsrc, "max width: %d",
size.stepwise.max_width);
- GST_DEBUG_OBJECT (v4l2camsrc, "min height: %d",
+ GST_LOG_OBJECT (v4l2camsrc, "min height: %d",
size.stepwise.max_height);
- GST_DEBUG_OBJECT (v4l2camsrc, "step width: %d",
+ GST_LOG_OBJECT (v4l2camsrc, "step width: %d",
size.stepwise.step_width);
- GST_DEBUG_OBJECT (v4l2camsrc, "step height: %d",
+ GST_LOG_OBJECT (v4l2camsrc, "step height: %d",
size.stepwise.step_height);
for (w = size.stepwise.min_width, h = size.stepwise.min_height;
if (tmp)
results = g_list_prepend (results, tmp);
}
- GST_DEBUG_OBJECT (v4l2camsrc,
+ GST_LOG_OBJECT (v4l2camsrc,
"done iterating stepwise frame sizes");
} else if (size.type == V4L2_FRMSIZE_TYPE_CONTINUOUS) {
guint32 maxw, maxh;
- GST_DEBUG_OBJECT (v4l2camsrc, "we have continuous frame sizes:");
- GST_DEBUG_OBJECT (v4l2camsrc, "min width: %d", size.stepwise.min_width);
- GST_DEBUG_OBJECT (v4l2camsrc, "min height: %d", size.stepwise.min_height);
- GST_DEBUG_OBJECT (v4l2camsrc, "max width: %d", size.stepwise.max_width);
- GST_DEBUG_OBJECT (v4l2camsrc, "min height: %d", size.stepwise.max_height);
+ GST_LOG_OBJECT (v4l2camsrc, "we have continuous frame sizes:");
+ GST_LOG_OBJECT (v4l2camsrc, "min width: %d", size.stepwise.min_width);
+ GST_LOG_OBJECT (v4l2camsrc, "min height: %d", size.stepwise.min_height);
+ GST_LOG_OBJECT (v4l2camsrc, "max width: %d", size.stepwise.max_width);
+ GST_LOG_OBJECT (v4l2camsrc, "min height: %d", size.stepwise.max_height);
w = MAX (size.stepwise.min_width, 1);
h = MAX (size.stepwise.min_height, 1);
min_w = max_w / RESIZER_MAX_DOWNSCALE_FACTOR;
min_h = max_h / RESIZER_MAX_DOWNSCALE_FACTOR;
- GST_DEBUG_OBJECT (v4l2camsrc,
+ GST_LOG_OBJECT (v4l2camsrc,
"Setting up range %dx%d - %dx%d", min_w, min_h, max_w, max_h);
gst_structure_set (tmp,