cb_data.state = (command == FOCUS_COMMAND_ACQUIRE) ? !FOCUS_STATUS_DEACTIVATED : FOCUS_STATUS_DEACTIVATED;
MMSOUND_STRNCPY(cb_data.stream_type, stream_type, MAX_STREAM_TYPE_LEN);
MMSOUND_STRNCPY(cb_data.ext_info, param->ext_info, MM_SOUND_NAME_NUM);
+ node->during_cb = true;
/* Set start time */
gettimeofday(&time, NULL);
*
**************************************/
RELEASE:
+ node->during_cb = false;
+
g_free(filename);
filename = NULL;
continue;
if (node->is_for_monitor)
continue;
+ if (node->during_cb) {
+ debug_msg("it is about to invoke watch callback again during processing it, skip it");
+ continue;
+ }
_invoke_watch_callback(node, my_node->stream_type, focus_type, command, param);
}