summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-10-15 19:45:46 +0530
committerTim-Philipp Müller <tim@centricular.com>2018-10-18 13:09:38 +0100
commitb1d020f646f462355f8f9ac7bd5423fc73becf2f (patch)
treeb94febaf59c52d0e10446dd917e35f6e054458cd
parent167f77cf94cce250a566f6f5f704f9839cf25364 (diff)
downloadgstreamer-plugins-base-b1d020f646f462355f8f9ac7bd5423fc73becf2f.tar.gz
videometa: Log map errors with GST_ERROR, not DEBUG
Otherwise it's very easy to miss them when gst_video_frame_map() fails
-rw-r--r--gst-libs/gst/video/gstvideometa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/video/gstvideometa.c b/gst-libs/gst/video/gstvideometa.c
index 68455d9f5..084ccce1d 100644
--- a/gst-libs/gst/video/gstvideometa.c
+++ b/gst-libs/gst/video/gstvideometa.c
@@ -227,12 +227,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;
}
}