Change priority of message idle function
authorJeongmo Yang <jm80.yang@samsung.com>
Tue, 26 Mar 2013 05:39:37 +0000 (14:39 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Tue, 26 Mar 2013 05:39:37 +0000 (14:39 +0900)
packaging/libmm-camcorder.spec
src/mm_camcorder_util.c

index 32f5621..18af40f 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-camcorder
 Summary:    Camera and recorder library
-Version:    0.7.9
+Version:    0.7.10
 Release:    0
 Group:      libs
 License:    Apache-2.0
index ec32843..25ce1f3 100644 (file)
@@ -733,7 +733,8 @@ _mmcamcroder_send_message(MMHandleType handle, _MMCamcorderMsgItem *data)
        hcamcorder->msg_data = g_list_append(hcamcorder->msg_data, item);
 //     _mmcam_dbg_log("item[%p]", item);
 
-       g_idle_add(_mmcamcroder_msg_callback, item);
+       /* Use DEFAULT priority */
+       g_idle_add_full(G_PRIORITY_DEFAULT, _mmcamcroder_msg_callback, item, NULL);
 
        _MMCAMCORDER_UNLOCK(handle);