From: Jeongmo Yang Date: Fri, 24 Dec 2021 05:34:38 +0000 (+0900) Subject: Add missed parameter for EOS of dbus sound play X-Git-Tag: accepted/tizen/unified/20211228.140318^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f008d0b069d24c76e2c488530ce68de8a2e1ae9;p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git Add missed parameter for EOS of dbus sound play [Version] 0.10.251 [Issue Type] Bug fix Change-Id: I0acd51f67676e0288908f9e65e8b13e5576150a0 Signed-off-by: Jeongmo Yang --- diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index 71aadbf..181699f 100755 --- a/packaging/libmm-camcorder.spec +++ b/packaging/libmm-camcorder.spec @@ -1,6 +1,6 @@ Name: libmm-camcorder Summary: Camera and recorder library -Version: 0.10.250 +Version: 0.10.251 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/mm_camcorder_util.c b/src/mm_camcorder_util.c index b3ab5a5..8dbea0b 100644 --- a/src/mm_camcorder_util.c +++ b/src/mm_camcorder_util.c @@ -165,6 +165,7 @@ static void __gdbus_stream_eos_cb(GDBusConnection *connection, 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; @@ -178,12 +179,12 @@ static void __gdbus_stream_eos_cb(GDBusConnection *connection, 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);