mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
UI: Add YUV 4:4:4 format option
This commit is contained in:
parent
94a1dbfc5f
commit
881d1a79d2
|
@ -2464,6 +2464,11 @@
|
|||
<string notr="true">I420</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>I444</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string notr="true">RGB</string>
|
||||
|
|
|
@ -1514,6 +1514,8 @@ static inline enum video_format GetVideoFormatFromName(const char *name)
|
|||
return VIDEO_FORMAT_I420;
|
||||
else if (astrcmpi(name, "NV12") == 0)
|
||||
return VIDEO_FORMAT_NV12;
|
||||
else if (astrcmpi(name, "I444") == 0)
|
||||
return VIDEO_FORMAT_I444;
|
||||
#if 0 //currently unsupported
|
||||
else if (astrcmpi(name, "YVYU") == 0)
|
||||
return VIDEO_FORMAT_YVYU;
|
||||
|
|
Loading…
Reference in a new issue