mirror of https://github.com/mpv-player/mpv
DR fixed for BGR24
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5007 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
56830c125c
commit
8ed9dad99c
|
@ -711,6 +711,7 @@ static uint32_t draw_frame(uint8_t *src[])
|
|||
|
||||
static uint32_t get_image(mp_image_t *mpi){
|
||||
if(mpi->type==MP_IMGTYPE_STATIC && num_buffers>1) return VO_FALSE; // it is not static
|
||||
if(mpi->imgfmt!=image_format || mpi->imgfmt==IMGFMT_BGR24) return VO_FALSE; // needs conversion :(
|
||||
// if(mpi->flags&MP_IMGFLAG_READABLE) return VO_FALSE; // slow video ram
|
||||
if(mpi->width==image_width){
|
||||
if(mpi->flags&MP_IMGFLAG_PLANAR){
|
||||
|
|
Loading…
Reference in New Issue