mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
vaapipostproc: set srcpad colorimetry unconditionally
We always need a srcpad colorimetry for VAAPI VPP operations. Also, check the return value of _set_colorimetry.
This commit is contained in:
parent
654e824555
commit
c6d8ee737f
1 changed files with 2 additions and 2 deletions
|
@ -719,8 +719,8 @@ _get_preferred_caps (GstVaapiPostproc * postproc, GstVideoInfo * vinfo,
|
|||
goto fixate_failed;
|
||||
_set_multiview_mode (postproc, vinfo, structure);
|
||||
|
||||
if (f == GST_VAAPI_CAPS_FEATURE_SYSTEM_MEMORY)
|
||||
_set_colorimetry (postproc, format, structure);
|
||||
if (!_set_colorimetry (postproc, format, structure))
|
||||
goto fixate_failed;
|
||||
|
||||
if (!_set_interlace_mode (postproc, vinfo, structure))
|
||||
goto interlace_mode_failed;
|
||||
|
|
Loading…
Reference in a new issue