Oh and while we're at it I suppose another fix

This commit is contained in:
jp9000
2014-01-30 12:39:26 -07:00
parent f26cb706c2
commit 7b37dc6cbb

View File

@@ -115,11 +115,11 @@ static inline void attach_sceneitem(struct obs_scene_item *item,
static void scene_video_render(void *data)
{
pthread_mutex_lock(&scene->mutex);
struct obs_scene *scene = data;
struct obs_scene_item *item = scene->first_item;
pthread_mutex_lock(&scene->mutex);
while (item) {
if (obs_source_removed(item->source)) {
struct obs_scene_item *del_item = item;