libs: filter: set vpp input/output color range
We've always sent VA_SOURCE_RANGE_UNKNOWN to the driver. And, the [iHD] driver essentially computes the same color range as gstreamer when we send VA_SOURCE_RANGE_UNKNOWN for cases were gstreamer computes it automatically. But, if the user wants to make it explicit, we should try to honor it.
This commit is contained in:
parent
9542d55efb
commit
5fe553f4c7
@ -1539,6 +1539,8 @@ fill_color_standard (GstVideoColorimetry * colorimetry,
|
||||
properties->matrix_coefficients =
|
||||
gst_video_color_matrix_to_iso (colorimetry->matrix);
|
||||
}
|
||||
|
||||
properties->color_range = from_GstVideoColorRange (colorimetry->range);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user