video player using d2d on Windows