Fix another bug (don't commit without compiling)
Also don't code in anger
This commit is contained in:
@@ -117,10 +117,12 @@ static inline void attach_sceneitem(struct obs_scene_item *item,
|
||||
|
||||
static void scene_video_render(void *data)
|
||||
{
|
||||
struct obs_scene *scene = data;
|
||||
struct obs_scene_item *item;
|
||||
|
||||
pthread_mutex_lock(&scene->mutex);
|
||||
|
||||
struct obs_scene *scene = data;
|
||||
struct obs_scene_item *item = scene->first_item;
|
||||
item = scene->first_item;
|
||||
|
||||
while (item) {
|
||||
if (obs_source_removed(item->source)) {
|
||||
|
Reference in New Issue
Block a user