mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
videoconvert: improve error reporting
This commit is contained in:
parent
c3478b2da0
commit
e22f406a9a
1 changed files with 4 additions and 2 deletions
|
@ -1745,12 +1745,14 @@ videoconvert_convert_generic (VideoConvert * convert, GstVideoFrame * dest,
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
if (convert->getline == NULL) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (convert->putline == NULL) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue