mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-25 06:38:47 -05:00
libobs,UI: Add P216/P416 pixel formats
Will be useful for ProRes.
This commit is contained in:
@@ -4393,6 +4393,10 @@ static inline enum video_format GetVideoFormatFromName(const char *name)
|
||||
return VIDEO_FORMAT_I010;
|
||||
else if (astrcmpi(name, "P010") == 0)
|
||||
return VIDEO_FORMAT_P010;
|
||||
else if (astrcmpi(name, "P216") == 0)
|
||||
return VIDEO_FORMAT_P216;
|
||||
else if (astrcmpi(name, "P416") == 0)
|
||||
return VIDEO_FORMAT_P416;
|
||||
#if 0 //currently unsupported
|
||||
else if (astrcmpi(name, "YVYU") == 0)
|
||||
return VIDEO_FORMAT_YVYU;
|
||||
|
||||
Reference in New Issue
Block a user