0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +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:
Susko3 2023-11-23 21:36:00 +01:00 committed by Lain
parent 2385a3f0f8
commit f173650103

View File

@ -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];
[...]