Adds a higher priority to the idle_add function for when
the image bin finished the image capture. This reduces the
delay for the application to be notified about this.
GST_DEBUG_OBJECT (camera, "got image eos message");
/* Calling callback directly will deadlock in
imagebin state change functions */
- g_idle_add_full (G_PRIORITY_HIGH, gst_camerabin_imgbin_finished, camera,
- NULL);
+ g_idle_add_full (G_PRIORITY_HIGH_IDLE, gst_camerabin_imgbin_finished,
+ camera, NULL);
}
break;
case GST_MESSAGE_ERROR: