mirror of
https://github.com/mpv-player/mpv
synced 2025-03-18 08:39:01 +00:00
10l ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5220 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
aa655ff797
commit
4e0092801c
@ -101,6 +101,9 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
||||
if ((ctx->width != sh->disp_w) ||
|
||||
(ctx->height != sh->disp_h))
|
||||
{
|
||||
/* and what about the sh->bih (BitmapInfoHeader) width/height values? */
|
||||
sh->disp_w = ctx->width;
|
||||
sh->disp_h = ctx->height;
|
||||
if (mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YV12))
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user