mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
docs: Fix missing accessor in example
Tested this in code, and it makes sense from the way `scenes.sources.array[i]` is accessed.
This commit is contained in:
parent
2385a3f0f8
commit
f173650103
@ -205,7 +205,7 @@ Structures/Enumerations
|
||||
|
||||
obs_frontend_get_scenes(&scenes);
|
||||
|
||||
for (size_t i = 0; i < scenes.num; i++) {
|
||||
for (size_t i = 0; i < scenes.sources.num; i++) {
|
||||
obs_source_t *source = scenes.sources.array[i];
|
||||
|
||||
[...]
|
||||
|
Loading…
Reference in New Issue
Block a user