diff --git a/gst-libs/gst/vaapi/gstvaapiencoder.c b/gst-libs/gst/vaapi/gstvaapiencoder.c index 2f97bd9b16..5709ba6911 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder.c +++ b/gst-libs/gst/vaapi/gstvaapiencoder.c @@ -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; } }