videoconvert: improve error reporting
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 10 Feb 2012 14:41:19 +0000 (15:41 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 10 Feb 2012 14:41:19 +0000 (15:41 +0100)
gst/videoconvert/videoconvert.c

index 1cac84d..543f2a9 100644 (file)
@@ -1745,12 +1745,14 @@ videoconvert_convert_generic (VideoConvert * convert, GstVideoFrame * dest,
   int j;
 
   if (convert->getline == NULL) {
-    GST_ERROR ("no getline");
+    GST_ERROR ("no getline for format %s",
+        gst_video_format_to_string (GST_VIDEO_FRAME_FORMAT (src)));
     return;
   }
 
   if (convert->putline == NULL) {
-    GST_ERROR ("no putline");
+    GST_ERROR ("no putline for format %s",
+        gst_video_format_to_string (GST_VIDEO_FRAME_FORMAT (dest)));
     return;
   }