avoid modifying explictly shared VideoFrame in VideoThead while reading
in main thread
convenience functions for VideoFormat
fix d2d display error. forgot to update frame