mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 13:04:54 -04:00
libobs/media-io: Handle VIDEO_CS_DEFAULT in video_format_get_parameters
This commit is contained in:
1 parent
2920281e69
commit
bd2b4c91b6
1 file changed
+2
@@ -184,6 +184,8 @@ bool video_format_get_parameters(enum video_colorspace color_space,
|
||||
matrices_initialized = true;
|
||||
}
|
||||
#endif
|
||||
if (color_space == VIDEO_CS_DEFAULT)
|
||||
color_space = VIDEO_CS_601;
|
||||
|
||||
for (size_t i = 0; i < NUM_FORMATS; i++) {
|
||||
if (format_info[i].color_space != color_space)
|
||||
|
||||
Reference in new issue
Block a user