projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
257fdf2
)
e_comp_wl: Check return value of e_comp_wl_video_init()
94/258594/1
author
Seunghun Lee
<shiin.lee@samsung.com>
Wed, 12 May 2021 07:16:02 +0000
(16:16 +0900)
committer
Seunghun Lee
<shiin.lee@samsung.com>
Thu, 20 May 2021 04:20:26 +0000
(13:20 +0900)
It checks return value and leave an error log when it failed.
Change-Id: I0ee2b063862c1a96d84a3e828bc7b5ff27b88785
src/bin/e_comp_wl.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl.c
b/src/bin/e_comp_wl.c
index 3f4531463898a95da33339b18598ff4f963af443..61e3015a5d7c5dabf197edbc66940e83432976d1 100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-4241,7
+4241,10
@@
e_comp_wl_init(void)
e_pixmap_init();
e_comp_wl_screenshooter_init();
- e_comp_wl_video_init();
+
+ if (!e_comp_wl_video_init())
+ ELOGF("COMP", "Failed to initialize the e_comp_wl_video", NULL);
+
e_comp_wl_viewport_init();
e_comp_wl_capture_init();
e_comp_wl_renderer_init();