weston: CB2 set ImmediatelyOutput to weston [1/1]
PD#SWPL-185892
Problem:
set ImmediatelyOutput to weston
Solution:
set ImmediatelyOutput to weston
Verify:
AH212
Signed-off-by: le.han <le.han@amlogic.com>
Change-Id: I39f8a596c657cdf92c12ea583e7b394d075eabad
diff --git a/weston/wayland_plugin.cpp b/weston/wayland_plugin.cpp
index 4fd8c7f..ff93876 100644
--- a/weston/wayland_plugin.cpp
+++ b/weston/wayland_plugin.cpp
@@ -246,6 +246,7 @@
} break;
case PLUGIN_KEY_IMMEDIATELY_OUTPUT: {
bool mImmediatelyOutput = (*(int *)(value)) > 0? true: false;
+ mDisplay->setImmediatelyOutput(1);
DEBUG(mLogCategory, "Set immediately output:%d",mImmediatelyOutput);
} break;
case PLUGIN_KEY_KEEP_LAST_FRAME: {