summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-10-15 19:45:46 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-10-15 19:46:48 +0530
commit76ba8d8759d8b1ec913ddfac21ea5402cc806b6f (patch)
tree2c7ba5e1cdbd5bec10b95341b1a33f0d612bfa2d
parentaa6daaafc6ab8b8ed1b0091da12995dfe0e3ed2e (diff)
downloadgst-plugins-base-76ba8d8759d8b1ec913ddfac21ea5402cc806b6f.tar.gz
gst-plugins-base-76ba8d8759d8b1ec913ddfac21ea5402cc806b6f.tar.xz
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 278e762f2..0ebe1b455 100644
--- a/gst-libs/gst/video/gstvideometa.c
+++ b/gst-libs/gst/video/gstvideometa.c
@@ -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;
}
}