mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
win-dshow: Use Rec. 2100 (PQ) by default for P010
This commit is contained in:
@@ -1100,6 +1100,9 @@ DShowInput::GetColorSpace(obs_data_t *settings) const
|
||||
if (astrcmpi(space, "2100HLG") == 0)
|
||||
return VIDEO_CS_2100_HLG;
|
||||
|
||||
if (videoConfig.format == VideoFormat::P010)
|
||||
return VIDEO_CS_2100_PQ;
|
||||
|
||||
return VIDEO_CS_DEFAULT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user