win-dshow: Use Rec. 2100 (PQ) by default for P010

This commit is contained in:
jpark37 2022-04-10 21:30:31 -07:00 committed by Jim
parent 6bee92d054
commit 14b1d34a06

View File

@ -1100,6 +1100,9 @@ DShowInput::GetColorSpace(obs_data_t *settings) const
if (astrcmpi(space, "2100HLG") == 0) if (astrcmpi(space, "2100HLG") == 0)
return VIDEO_CS_2100_HLG; return VIDEO_CS_2100_HLG;
if (videoConfig.format == VideoFormat::P010)
return VIDEO_CS_2100_PQ;
return VIDEO_CS_DEFAULT; return VIDEO_CS_DEFAULT;
} }