mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:33:46 +01:00
iive is right - we shouldn't use IP buffering for vfw. it was changed
to test DR support but i forgot to remove that later :( 10l is mine... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6106 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e6c9966c8f
commit
cd59a26dee
@ -71,7 +71,9 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
||||
int ret;
|
||||
if(len<=0) return NULL; // skipped frame
|
||||
|
||||
mpi=mpcodecs_get_image(sh, MP_IMGTYPE_IP, MP_IMGFLAG_ACCEPT_WIDTH,
|
||||
mpi=mpcodecs_get_image(sh,
|
||||
(sh->codec->outflags[sh->outfmtidx] & CODECS_FLAG_STATIC) ?
|
||||
MP_IMGTYPE_STATIC : MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_WIDTH,
|
||||
sh->disp_w, sh->disp_h);
|
||||
if(!mpi){ // temporary!
|
||||
printf("couldn't allocate image for cinepak codec\n");
|
||||
|
Loading…
Reference in New Issue
Block a user