mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-05 15:16:13 -05:00
libobs: Rename Rec. 2020 to Rec. 2100
Rec. 2020 is really an SDR spec, but I think HDR10 made it okay to slap PQ on it, call it an HDR spec. Rec. 2100 came along after and formally allowed the use of PQ/HLG, so we should use 2100 instead.
This commit is contained in:
@@ -4302,10 +4302,10 @@ static inline enum video_colorspace GetVideoColorSpaceFromName(const char *name)
|
||||
colorspace = VIDEO_CS_601;
|
||||
else if (strcmp(name, "709") == 0)
|
||||
colorspace = VIDEO_CS_709;
|
||||
else if (strcmp(name, "2020PQ") == 0)
|
||||
colorspace = VIDEO_CS_2020_PQ;
|
||||
else if (strcmp(name, "2020HLG") == 0)
|
||||
colorspace = VIDEO_CS_2020_HLG;
|
||||
else if (strcmp(name, "2100PQ") == 0)
|
||||
colorspace = VIDEO_CS_2100_PQ;
|
||||
else if (strcmp(name, "2100HLG") == 0)
|
||||
colorspace = VIDEO_CS_2100_HLG;
|
||||
|
||||
return colorspace;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user