From daf6af8b06ca59330770775453efea6cef307ece Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Tue, 28 May 2019 16:47:26 +0900 Subject: [PATCH] video: Fix wrong bit comparison for flag 'TBM_BO_SCANOUT'. Change-Id: Id36a403fe4c1f2a8c1aa1bf44a3f33a03c4dbafc --- src/bin/video/iface/e_video_hwc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/video/iface/e_video_hwc.c b/src/bin/video/iface/e_video_hwc.c index b33a7db53e..3dc307f87f 100644 --- a/src/bin/video/iface/e_video_hwc.c +++ b/src/bin/video/iface/e_video_hwc.c @@ -144,7 +144,7 @@ _e_video_hwc_video_buffer_scanout_check(E_Comp_Wl_Video_Buf *vbuf) EINA_SAFETY_ON_NULL_RETURN_VAL(bo, EINA_FALSE); flag = tbm_bo_get_flags(bo); - if (flag == TBM_BO_SCANOUT) + if (flag & TBM_BO_SCANOUT) return EINA_TRUE; return EINA_FALSE; -- 2.34.1