From: Seunghun Lee Date: Thu, 16 Jan 2020 10:37:01 +0000 (+0900) Subject: video: Make a noise only for failure case. X-Git-Tag: submit/tizen/20200220.070651~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7baae38bd426c4b7100f54b1e3a4b6f12d43c5de;p=platform%2Fupstream%2Fenlightenment.git video: Make a noise only for failure case. Change-Id: Ia9f76252b396e27b6079bc1583761d452da5df54 --- diff --git a/src/bin/video/e_client_video.c b/src/bin/video/e_client_video.c index 4af4a21d8f..bddef2fc2c 100644 --- a/src/bin/video/e_client_video.c +++ b/src/bin/video/e_client_video.c @@ -6,12 +6,17 @@ E_Client_Video *ecv; \ ecv = evas_object_data_get(ec->frame, EO_DATA_KEY) -#define IFACE_CHECK_RET(iname, ret) \ - INTERNAL_DATA_GET; \ - EINA_SAFETY_ON_NULL_RETURN_VAL(ecv, ret); \ - VDB(#iname, ec); \ - if (!ecv->iface->iname) \ - return ret +#define IFACE_CHECK_RET(iname, ret) \ + INTERNAL_DATA_GET; \ + EINA_SAFETY_ON_NULL_RETURN_VAL(ecv, ret); \ + do \ + { \ + if (!ecv->iface->iname) \ + { \ + VER("No implementation for this interface(%s)", ec, #iname); \ + return ret; \ + } \ + } while (0) struct _E_Client_Video {