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:
6458c59
)
e_comp_wl_capture: Add tbm buffer type for video capture.
77/247977/2
author
Seunghun Lee
<shiin.lee@samsung.com>
Wed, 18 Nov 2020 06:24:49 +0000
(15:24 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Thu, 19 Nov 2020 10:18:28 +0000
(10:18 +0000)
It's to support video capture which creates tizen_video_object but not
composited by hwc. In that case, buffer type will be
E_COMP_WL_BUFFER_TYPE_TBM.
Change-Id: Ibbe6eed5b30fc435fae70d773884141f1ec1fb8e
src/bin/e_comp_wl_capture.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_capture.c
b/src/bin/e_comp_wl_capture.c
index 4d7d977ce143864132beffcf4f8ae80e46cfc9a8..8ddfc5f134d880b901f72c3bc4adf99cdded1ec4 100644
(file)
--- a/
src/bin/e_comp_wl_capture.c
+++ b/
src/bin/e_comp_wl_capture.c
@@
-608,6
+608,7
@@
_e_capture_client_video_data_create(E_Client *ec)
switch (buffer->type)
{
case E_COMP_WL_BUFFER_TYPE_VIDEO:
+ case E_COMP_WL_BUFFER_TYPE_TBM:
/* capture_data->buffer_ref.buffer can indicate NULL pointer
* if wl_buffer is destroyed later. */
if (!buffer->tbm_surface) goto err;