projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f680a8c
)
libs: encoder: fix an inexact trace info in chroma type check.
author
He Junyan
<junyan.he@hotmail.com>
Thu, 2 Apr 2020 07:19:41 +0000
(15:19 +0800)
committer
He Junyan
<junyan.he@hotmail.com>
Thu, 2 Apr 2020 07:23:05 +0000
(15:23 +0800)
gst-libs/gst/vaapi/gstvaapiencoder.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/vaapi/gstvaapiencoder.c
b/gst-libs/gst/vaapi/gstvaapiencoder.c
index
2f97bd9
..
5709ba6
100644
(file)
--- 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;
}
}