video: improve debug

This commit is contained in:
Wim Taymans 2011-08-04 15:18:03 +02:00
parent ca9ef2d8c0
commit 26c9db9280

View file

@ -816,7 +816,8 @@ gst_video_frame_map (GstVideoFrame * frame, GstVideoInfo * info,
/* ERRORS */ /* ERRORS */
invalid_size: 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); gst_buffer_unmap (buffer, data, size);
return FALSE; return FALSE;
} }