const gchar *signal_name, GVariant *param, gpointer user_data)
{
int played_idx = 0;
+ gboolean stopped_by_user = FALSE;
_MMCamcorderGDbusCbInfo *gdbus_info = NULL;
mmf_camcorder_t *hcamcorder = NULL;
gdbus_info = (_MMCamcorderGDbusCbInfo *)user_data;
hcamcorder = (mmf_camcorder_t *)gdbus_info->mm_handle;
- g_variant_get(param, "(i)", &played_idx);
+ g_variant_get(param, "(ib)", &played_idx, &stopped_by_user);
g_mutex_lock(&gdbus_info->sync_mutex);
- MMCAM_LOG_WARNING("gdbus_info->param %d, played_idx : %d, handle : %p",
- gdbus_info->param, played_idx, hcamcorder);
+ MMCAM_LOG_WARNING("gdbus_info->param %d, played_idx %d, stopped_by_user %d, handle %p",
+ gdbus_info->param, played_idx, stopped_by_user, hcamcorder);
if (gdbus_info->param == played_idx) {
g_dbus_connection_signal_unsubscribe(connection, gdbus_info->subscribe_id);