mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +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;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue