mirror of
https://github.com/mpv-player/mpv
synced 2024-10-18 10:25:02 +02:00
DShow and DMO decoders need MP_IMGFLAG_COMMON_PLANE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30646 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0f86bc16ba
commit
6d2c5ad18d
@ -90,7 +90,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
||||
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!
|
||||
|
@ -119,7 +119,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
||||
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!
|
||||
|
Loading…
Reference in New Issue
Block a user