libs: encoder: fix an inexact trace info in chroma type check.

This commit is contained in:
He Junyan 2020-04-02 15:19:41 +08:00
parent f680a8cba1
commit 80b6e006bc

View file

@ -681,8 +681,9 @@ is_chroma_type_supported (GstVaapiEncoder * encoder)
/* ERRORS */
unsupported:
{
GST_ERROR ("We only support YUV 4:2:0 and YUV 4:2:2 for encoding. "
"Please try to use vaapipostproc to convert the input format.");
GST_ERROR ("The encoding format %s is not supported, "
"Please try to use vaapipostproc to convert the input format.",
gst_video_format_to_string (fmt));
return FALSE;
}
}