mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-25 23:46:45 +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");
|
GST_DEBUG_OBJECT (camera, "got image eos message");
|
||||||
/* Calling callback directly will deadlock in
|
/* Calling callback directly will deadlock in
|
||||||
imagebin state change functions */
|
imagebin state change functions */
|
||||||
g_idle_add_full (G_PRIORITY_HIGH, gst_camerabin_imgbin_finished, camera,
|
g_idle_add_full (G_PRIORITY_HIGH_IDLE, gst_camerabin_imgbin_finished,
|
||||||
NULL);
|
camera, NULL);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GST_MESSAGE_ERROR:
|
case GST_MESSAGE_ERROR:
|
||||||
|
|
Loading…
Reference in a new issue