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:
Nirbheek Chauhan 2018-10-15 19:45:46 +05:30
parent aa6daaafc6
commit 76ba8d8759

View file

@ -237,12 +237,12 @@ default_map (GstVideoMeta * meta, guint plane, GstMapInfo * info,
/* ERRORS */
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;
}
cannot_map:
{
GST_DEBUG ("cannot map memory range %u-%u", idx, length);
GST_ERROR ("cannot map memory range %u-%u", idx, length);
return FALSE;
}
}