avdevice/dshow: discover source color range/space/etc
authorDiederick Niehorster <dcnieho@gmail.com>
Tue, 21 Dec 2021 13:53:36 +0000 (14:53 +0100)
committerGyan Doshi <ffmpeg@gyani.pro>
Fri, 24 Dec 2021 08:37:02 +0000 (14:07 +0530)
commitdde92fb7d995a1cf0474376a867817eaf3d4b320
tree112538182cce8395d330ab4120f7e29f421ff9fc
parent5c90c13a569fb8c6e11edd1ef9213831f264a8a7
avdevice/dshow: discover source color range/space/etc

Enabled discovering a DirectShow device's color range, space, primaries,
transfer characteristics and chroma location, if the device exposes that
information. Sets them in the stream's codecpars.

Co-authored-by: Valerii Zapodovnikov <val.zapod.vz@gmail.com>
Signed-off-by: Diederick Niehorster <dcnieho@gmail.com>
Reviewed-by: Roger Pack <rogerdpack2@gmail.com>
libavdevice/dshow.c