support hurryup flag (-(hard)framedrop)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5876 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-04-27 23:45:00 +00:00
parent 04ea2879d3
commit 66052c7bda
1 changed files with 5 additions and 1 deletions

View File

@ -161,6 +161,10 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
}
}
#if LIBAVCODEC_BUILD > 4603
avctx->hurry_up=(flags&3)?((flags&2)?2:1):0;
#endif
ret = avcodec_decode_video(avctx, &lavc_picture,
&got_picture, data, len);