summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst-libs/gst/vaapi/gstvaapiencoder.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiencoder.c b/gst-libs/gst/vaapi/gstvaapiencoder.c
index 2f97bd9b..5709ba69 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;
}
}