/* ERRORS */
invalid_format:
{
- GST_DEBUG_OBJECT (v4l2object, "invalid format");
+ GST_DEBUG_OBJECT (v4l2object->dbg_obj, "invalid format");
return FALSE;
}
unhandled_format:
{
- GST_DEBUG_OBJECT (v4l2object, "unhandled format");
+ GST_DEBUG_OBJECT (v4l2object->dbg_obj, "unhandled format");
return FALSE;
}
unsupported_format:
{
- GST_DEBUG_OBJECT (v4l2object, "unsupported format");
+ GST_DEBUG_OBJECT (v4l2object->dbg_obj, "unsupported format");
return FALSE;
}
}
|| gst_value_list_get_size (&interlace_formats) > 0)
gst_structure_take_value (s, "interlace-mode", &interlace_formats);
else
- GST_WARNING_OBJECT (v4l2object, "Failed to determine interlace mode");
+ GST_WARNING_OBJECT (v4l2object->dbg_obj,
+ "Failed to determine interlace mode");
return;
}
padded_width = stride / pstride;
} else {
/* pstride can be 0 for complex formats */
- GST_WARNING_OBJECT (v4l2object->element,
+ GST_WARNING_OBJECT (v4l2object->dbg_obj,
"format %s has a pstride of 0, cannot compute padded with",
gst_video_format_to_string (GST_VIDEO_INFO_FORMAT (info)));
padded_width = stride;
field = get_v4l2_field_for_info (&info);
if (field != V4L2_FIELD_NONE)
- GST_DEBUG_OBJECT (v4l2object->element, "interlaced video");
+ GST_DEBUG_OBJECT (v4l2object->dbg_obj, "interlaced video");
else
- GST_DEBUG_OBJECT (v4l2object->element, "progressive video");
+ GST_DEBUG_OBJECT (v4l2object->dbg_obj, "progressive video");
/* We first pick the main colorspace from the primaries */
switch (info.colorimetry.primaries) {