libvideorender: CF2 add surface destroyed callback [1/1]

PD#TV-124479

Problem:
sometimes set keep last frame to weston,this event maybe
lost on weston when we invoking api before disconnect

Solution:
weston add a surface destroyed callback, render lib must
check this callback before invoking wl_display_disconnect

Verify:
ap222

Change-Id: Iee962716e514929c59bbc5dd3b52db504e6c8bed
Signed-off-by: fei.deng <fei.deng@amlogic.com>
diff --git a/tools/ErrorCode.h b/tools/ErrorCode.h
index 0f749ba..401638c 100644
--- a/tools/ErrorCode.h
+++ b/tools/ErrorCode.h
@@ -36,7 +36,7 @@
     ERROR_BAD_INDEX           = -E2BIG,
     ERROR_NOT_ENOUGH_DATA     = (ERROR_UNKNOWN + 3),
     ERROR_WOULD_BLOCK         = (ERROR_UNKNOWN + 4),
-    ERROR_TIMED_OUT           = (ERROR_UNKNOWN + 5),
+    ERROR_TIMED_OUT           = -ETIMEDOUT,
     ERROR_UNKNOWN_TRANSACTION = (ERROR_UNKNOWN + 6),
 
     ERROR_FDS_NOT_ALLOWED     = (ERROR_UNKNOWN + 7),