Mercurial > mplayer.hg
changeset 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 |
files | libmpcodecs/vd_dmo.c libmpcodecs/vd_dshow.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_dmo.c Thu Feb 18 22:28:55 2010 +0000 +++ b/libmpcodecs/vd_dmo.c Thu Feb 18 22:34:27 2010 +0000 @@ -90,7 +90,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!
--- 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!