mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
vaapipostproc: set vpp filter colorimetry
Set the input and output colorimetry for vpp filter.
This commit is contained in:
parent
1c7e820805
commit
c01f2e30d6
1 changed files with 5 additions and 1 deletions
|
@ -1654,7 +1654,11 @@ gst_vaapipostproc_set_caps (GstBaseTransform * trans, GstCaps * caps,
|
||||||
gst_vaapipostproc_set_passthrough (trans);
|
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:
|
done:
|
||||||
g_mutex_unlock (&postproc->postproc_lock);
|
g_mutex_unlock (&postproc->postproc_lock);
|
||||||
|
|
Loading…
Reference in a new issue