Fix slow h264