mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
v4l2object: update match_buffer_layout() debug messages
It's no longer used only to try importing buffers.
This commit is contained in:
parent
91002389b9
commit
e9c10713a3
1 changed files with 3 additions and 3 deletions
|
@ -4322,14 +4322,14 @@ gst_v4l2_object_match_buffer_layout (GstV4l2Object * obj, guint n_planes,
|
||||||
|
|
||||||
if (n_planes != GST_VIDEO_INFO_N_PLANES (&obj->info)) {
|
if (n_planes != GST_VIDEO_INFO_N_PLANES (&obj->info)) {
|
||||||
GST_WARNING_OBJECT (obj->dbg_obj,
|
GST_WARNING_OBJECT (obj->dbg_obj,
|
||||||
"Cannot import buffers with different number planes");
|
"Cannot match buffers with different number planes");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (p = 0; p < n_planes; p++) {
|
for (p = 0; p < n_planes; p++) {
|
||||||
if (stride[p] < obj->info.stride[p]) {
|
if (stride[p] < obj->info.stride[p]) {
|
||||||
GST_DEBUG_OBJECT (obj->dbg_obj,
|
GST_DEBUG_OBJECT (obj->dbg_obj,
|
||||||
"Not importing as remote stride %i is smaller than %i on plane %u",
|
"Not matching as remote stride %i is smaller than %i on plane %u",
|
||||||
stride[p], obj->info.stride[p], p);
|
stride[p], obj->info.stride[p], p);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else if (stride[p] > obj->info.stride[p]) {
|
} else if (stride[p] > obj->info.stride[p]) {
|
||||||
|
@ -4341,7 +4341,7 @@ gst_v4l2_object_match_buffer_layout (GstV4l2Object * obj, guint n_planes,
|
||||||
|
|
||||||
if (offset[p] < obj->info.offset[p]) {
|
if (offset[p] < obj->info.offset[p]) {
|
||||||
GST_DEBUG_OBJECT (obj->dbg_obj,
|
GST_DEBUG_OBJECT (obj->dbg_obj,
|
||||||
"Not importing as offset %" G_GSIZE_FORMAT
|
"Not matching as offset %" G_GSIZE_FORMAT
|
||||||
" is smaller than %" G_GSIZE_FORMAT " on plane %u",
|
" is smaller than %" G_GSIZE_FORMAT " on plane %u",
|
||||||
offset[p], obj->info.offset[p], p);
|
offset[p], obj->info.offset[p], p);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue