Commit 73a5ac85 authored by Arnaud Blanchard's avatar Arnaud Blanchard

Fix error in the loop for semaphore

parent fd035a54
......@@ -323,8 +323,6 @@ gboolean update_YUYV_image(GtkImage *image, GdkFrameClock *frame_clock, void*)
if (blc_command_loop_start()==0) exit(0);
pixels = (uint32_t*)image_buffer;
if (blc_command_loop_start()==0) exit(0);
i = 0;
while (i != (int) channel->size)
{
......@@ -340,8 +338,6 @@ gboolean update_YUYV_image(GtkImage *image, GdkFrameClock *frame_clock, void*)
pixels+=2;
}
iterations++;
blc_command_loop_end();
gtk_image_set_from_surface(image, image_surface);
blc_command_loop_end();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment