Ugly commit because I need access to this stuff from bulgaria. Works on the YUVDataVideo.