mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
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:
parent
dad82be640
commit
ca16d951ba
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue