Mercurial > mplayer.hg
diff libmpcodecs/vd_dshow.c @ 30604:bc87504d1d6a
DShow and DMO decoders need MP_IMGFLAG_COMMON_PLANE
author | reimar |
---|---|
date | Thu, 18 Feb 2010 22:34:27 +0000 |
parents | c5d8b7640b7d |
children | a9c86e91de71 |
line wrap: on
line diff
--- a/libmpcodecs/vd_dshow.c Thu Feb 18 22:28:55 2010 +0000 +++ b/libmpcodecs/vd_dshow.c Thu Feb 18 22:34:27 2010 +0000 @@ -119,7 +119,7 @@ return NULL; } - mpi=mpcodecs_get_image(sh, MP_IMGTYPE_TEMP, 0 /*MP_IMGFLAG_ACCEPT_STRIDE*/, + mpi=mpcodecs_get_image(sh, MP_IMGTYPE_TEMP, MP_IMGFLAG_COMMON_PLANE, sh->disp_w, sh->disp_h); if(!mpi){ // temporary!