mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 01:40:28 +00:00
Dummy disp.: fixed rgb_shift parsing
This commit is contained in:
@@ -88,6 +88,7 @@ static auto display_dummy_init(struct module * /* parent */, const char *cfg, un
|
||||
return nullptr;
|
||||
}
|
||||
} else if (strstr(item, "rgb_shift=") != nullptr) {
|
||||
item += strlen("rgb_shift=");
|
||||
size_t len;
|
||||
s->rgb_shift[0] = stoi(item, &len);
|
||||
item += len + 1;
|
||||
|
||||
Reference in New Issue
Block a user