camerabin: fix priority for idle_add function

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.
This commit is contained in:
Teemu Katajisto 2010-09-09 10:50:59 +03:00 committed by Thiago Santos
parent dad82be640
commit ca16d951ba

View file

@ -3830,8 +3830,8 @@ gst_camerabin_handle_message_func (GstBin * bin, GstMessage * msg)
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: