libvideorender: CB2 not send frame when output removed [1/1]

PD#SWPL-139686

Problem:
on weston plugin, if wl output removed,weston can't display
any video frame,so it can't report displayed frame to client,
it cause blocking post buffer thread.afer wl output plugin again
playback can't resume

Solution:
we don't send video frame to weston when wl output removed.so post
frame thread should drop video frame,when wl output plugin again,we
send newest video frame to weston.

Verify:
ap222

Change-Id: Ia66802f6b6f466a5b5243c2fdb5e3b13831d0303
Signed-off-by: fei.deng <fei.deng@amlogic.com>
3 files changed