1
mirror of https://github.com/mpv-player/mpv synced 2024-07-15 22:21:38 +02:00

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

View File

@ -160,7 +160,11 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
avctx->opaque=sh->video_out;
}
}
#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);