Fix video playback do not report ENDED event issue.

Signed-off-by: Yunchao Chen <chenyc@infthink.com>