Skip to content

video-info: Validate chroma-site when parsing caps and set defaults if none is set

Previously there was no validation at all and the defaults were set if the colorimetry was not set or invalid, but there's not really any connection between colorimetry and chroma-site.

More validation could make sense in the future.


This fixes a regression introduced by 32d36d0e cc @thiblahute , which assumed that there's always chroma-site set for YUV formats.

Edited by Sebastian Dröge

Merge request reports

Loading