mark frame invalid if convert failed
do not send invalid frame to renderers. no flicker. also fix issue 156

d2d renderer crashes when rendering an invalid frame.