support custom dpi settings (retina rendering of video)