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:
1c7e820
)
vaapipostproc: set vpp filter colorimetry
author
U. Artie Eoff
<ullysses.a.eoff@intel.com>
Thu, 30 Jan 2020 17:37:18 +0000
(09:37 -0800)
committer
U. Artie Eoff
<ullysses.a.eoff@intel.com>
Wed, 5 Feb 2020 18:16:16 +0000
(10:16 -0800)
Set the input and output colorimetry for vpp filter.
gst/vaapi/gstvaapipostproc.c
patch
|
blob
|
history
diff --git
a/gst/vaapi/gstvaapipostproc.c
b/gst/vaapi/gstvaapipostproc.c
index
d9d1561
..
a937877
100644
(file)
--- a/
gst/vaapi/gstvaapipostproc.c
+++ b/
gst/vaapi/gstvaapipostproc.c
@@
-1654,7
+1654,11
@@
gst_vaapipostproc_set_caps (GstBaseTransform * trans, GstCaps * caps,
gst_vaapipostproc_set_passthrough (trans);
}
- ret = TRUE;
+ ret = gst_vaapi_filter_set_colorimetry (postproc->filter,
+ &GST_VIDEO_INFO_COLORIMETRY (GST_VAAPI_PLUGIN_BASE_SINK_PAD_INFO
+ (postproc)),
+ &GST_VIDEO_INFO_COLORIMETRY (GST_VAAPI_PLUGIN_BASE_SRC_PAD_INFO
+ (postproc)));
done:
g_mutex_unlock (&postproc->postproc_lock);