From 26c9db92805af89d365ec592280c155124f203bf Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 4 Aug 2011 15:18:03 +0200 Subject: [PATCH] video: improve debug --- gst-libs/gst/video/video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c index a7a81c368a..d860340d75 100644 --- a/gst-libs/gst/video/video.c +++ b/gst-libs/gst/video/video.c @@ -816,7 +816,8 @@ gst_video_frame_map (GstVideoFrame * frame, GstVideoInfo * info, /* ERRORS */ invalid_size: { - GST_ERROR ("invalid buffer size"); + GST_ERROR ("invalid buffer size %" G_GSIZE_FORMAT " < %" G_GSIZE_FORMAT, + size, info->size); gst_buffer_unmap (buffer, data, size); return FALSE; }