videoconvert: improve error reporting

This commit is contained in:
Wim Taymans 2012-02-10 15:41:19 +01:00
parent c3478b2da0
commit e22f406a9a

View 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;
}