mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
videometa: Log map errors with GST_ERROR, not DEBUG
Otherwise it's very easy to miss them when gst_video_frame_map() fails
This commit is contained in:
parent
aa6daaafc6
commit
76ba8d8759
1 changed files with 2 additions and 2 deletions
|
@ -237,12 +237,12 @@ default_map (GstVideoMeta * meta, guint plane, GstMapInfo * info,
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
no_memory:
|
no_memory:
|
||||||
{
|
{
|
||||||
GST_DEBUG ("plane %u, no memory at offset %" G_GSIZE_FORMAT, plane, offset);
|
GST_ERROR ("plane %u, no memory at offset %" G_GSIZE_FORMAT, plane, offset);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
cannot_map:
|
cannot_map:
|
||||||
{
|
{
|
||||||
GST_DEBUG ("cannot map memory range %u-%u", idx, length);
|
GST_ERROR ("cannot map memory range %u-%u", idx, length);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue